patient.js 574 B

1
  1. "use strict";let t=(new(require("../common/request.js").Request)).http;exports.addPatient=function(e){return t("/app/patient/addPatient",e,"POST","application/json;charset=UTF-8")},exports.delPatient=function(e){return t("/app/patient/delPatient",e,"POST","application/json;charset=UTF-8")},exports.editPatient=function(e){return t("/app/patient/editPatient",e,"POST","application/json;charset=UTF-8")},exports.getPatientById=function(e){return t("/app/patient/getPatientById",e,"GET")},exports.getPatientList=function(){return t("/app/patient/getPatientList",null,"GET")};