patient.js 596 B

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