doctor.js 952 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. var common_request = require("../common/request.js");
  3. let request = new common_request.Request().http;
  4. function getMyDoctorList(data) {
  5. return request("/app/doctor/getMyDoctorList", data, "GET");
  6. }
  7. function getDoctorDetails(data) {
  8. return request("/app/doctor/getDoctorDetails", data, "GET");
  9. }
  10. function getDoctorPingList(data) {
  11. return request("/app/doctor/getDoctorPingList", data, "GET");
  12. }
  13. function getDoctorList(data) {
  14. return request("/app/doctor/getDoctorList", data, "GET");
  15. }
  16. function checkFollow(data) {
  17. return request("/app/doctor/checkFollow", data, "GET");
  18. }
  19. function doFollow(data) {
  20. return request("/app/doctor/doFollow", data, "POST", "application/json;charset=UTF-8");
  21. }
  22. exports.checkFollow = checkFollow;
  23. exports.doFollow = doFollow;
  24. exports.getDoctorDetails = getDoctorDetails;
  25. exports.getDoctorList = getDoctorList;
  26. exports.getDoctorPingList = getDoctorPingList;
  27. exports.getMyDoctorList = getMyDoctorList;