index.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. var common_request = require("../common/request.js");
  3. let request = new common_request.Request().http;
  4. function getFamousPrescribeList(data) {
  5. return request("/app/index/getFamousPrescribeList", data, "GET");
  6. }
  7. function getFamousPrescribeById(data) {
  8. return request("/app/index/getFamousPrescribeById", data, "GET");
  9. }
  10. function getQuestionsList(data) {
  11. return request("/app/index/getQuestionsList", data, "GET");
  12. }
  13. function getQuestionsById(data) {
  14. return request("/app/index/getQuestionsById", data, "GET");
  15. }
  16. function getMedicatedFoodList(data) {
  17. return request("/app/index/getMedicatedFoodList", data, "GET");
  18. }
  19. function getMedicatedFoodById(data) {
  20. return request("/app/index/getMedicatedFoodById", data, "GET");
  21. }
  22. function getVesselList(data) {
  23. return request("/app/index/getVesselList", data, "GET");
  24. }
  25. function getVesselById(data) {
  26. return request("/app/index/getVesselById", data, "GET");
  27. }
  28. function getChineseMedicineList(data) {
  29. return request("/app/index/getChineseMedicineList", data, "GET");
  30. }
  31. function getChineseMedicineById(data) {
  32. return request("/app/index/getChineseMedicineById", data, "GET");
  33. }
  34. exports.getChineseMedicineById = getChineseMedicineById;
  35. exports.getChineseMedicineList = getChineseMedicineList;
  36. exports.getFamousPrescribeById = getFamousPrescribeById;
  37. exports.getFamousPrescribeList = getFamousPrescribeList;
  38. exports.getMedicatedFoodById = getMedicatedFoodById;
  39. exports.getMedicatedFoodList = getMedicatedFoodList;
  40. exports.getQuestionsById = getQuestionsById;
  41. exports.getQuestionsList = getQuestionsList;
  42. exports.getVesselById = getVesselById;
  43. exports.getVesselList = getVesselList;