common.js 897 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. var common_request = require("../common/request.js");
  3. let request = new common_request.Request().http;
  4. function getCitys(data) {
  5. return request("/app/common/getCitys", data, "GET");
  6. }
  7. function getTlsSig(data) {
  8. return request("/app/common/getTlsSig", data, "GET");
  9. }
  10. function getDictByKey(data) {
  11. return request("/app/common/getDictByKey", data, "GET");
  12. }
  13. function getConfigByKey(data) {
  14. return request("/app/common/getConfigByKey", data, "GET");
  15. }
  16. function getHospitalList(data) {
  17. return request("/app/common/getHospitalList", data, "GET");
  18. }
  19. function getDepartmentList(data) {
  20. return request("/app/common/getDepartmentList", data, "GET");
  21. }
  22. exports.getCitys = getCitys;
  23. exports.getConfigByKey = getConfigByKey;
  24. exports.getDepartmentList = getDepartmentList;
  25. exports.getDictByKey = getDictByKey;
  26. exports.getHospitalList = getHospitalList;
  27. exports.getTlsSig = getTlsSig;