article.js 697 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import request from "@/utils/request";
  2. /**
  3. * 获取文章内容
  4. *
  5. */
  6. export function getArticle(parameter) {
  7. return request({
  8. url: `${window.GLOBAL_CONFIG.API_APP}/app/healthy/article/info/info`,
  9. method: "post",
  10. data: parameter
  11. });
  12. }
  13. /**
  14. * 患者行为
  15. *
  16. */
  17. export function behaviorAdd(parameter) {
  18. return request({
  19. url: `${window.GLOBAL_CONFIG.API_APP}/app/healthy/patient/behavior/add`,
  20. method: "post",
  21. data: parameter
  22. });
  23. }
  24. /**
  25. * 发送原因
  26. *
  27. */
  28. export function remindDetails(parameter) {
  29. return request({
  30. url: `${window.GLOBAL_CONFIG.API_APP}/sys/healthy/patient/pushService/remind/detail`,
  31. method: "post",
  32. data: parameter
  33. });
  34. }