简要描述:

  • 获取全局权重

接口版本:

版本号 制定人 制定日期 修订日期
3.8.6 朱小乾 2023-08-22 -
3.8.8 朱小乾 2023-09-05
3.9.0 朱小乾 2023-10-19

请求URL:

  • /api/GlobalWeight/GetGlobalWeight

请求方式:

  • Get

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: application/json

请求参数:

参数名 是否必须 类型 说明
systemCode string 系统代码

返回示例:

正确时返回:

  1. {
  2. "code": 1,
  3. "message": "操作成功",
  4. "data": {
  5. "priorityWeight": {
  6. "notWeight": 0,
  7. "onWeight": 0,
  8. "outWeight": 0
  9. },
  10. "isCallerStop": true,
  11. "callerStopWeight": 0,
  12. "fullWeight": 0,
  13. "emptyWeight": 0,
  14. "queuePriorityWeight": [
  15. {
  16. "level": 0,
  17. "wight": 0,
  18. "code": "",
  19. "name": "默认",
  20. "tips": "默认",
  21. "remark": "默认"
  22. },
  23. {
  24. "level": 2,
  25. "wight": -400,
  26. "code": "#008B8B",
  27. "name": "高",
  28. "tips": "高优先级:稍早进队列",
  29. "remark": "高优先级"
  30. },
  31. {
  32. "level": 1,
  33. "wight": 150000,
  34. "code": "#FF8C00",
  35. "name": "低",
  36. "tips": "低优先级",
  37. "remark": "低"
  38. },
  39. {
  40. "level": 3,
  41. "wight": -900000,
  42. "code": "#FF8C00",
  43. "name": "极高",
  44. "tips": "极高优先:极早进队列",
  45. "remark": "极高优先"
  46. }
  47. ],
  48. "parallelGuideWeight": {
  49. "in": 0,
  50. "not": 0
  51. },
  52. "appointmentGuideWeight": {
  53. "in": 0,
  54. "not": 0
  55. },
  56. "noGuideWeight": 0,
  57. "bringOutGuideWeight": 0
  58. }
  59. }

错误时返回:

返回参数说明:

参数名 类型 说明
priorityWeight object 优先级权重
priorityWeight-notWeight int 未命中
priorityWeight-onWeight int 命中
priorityWeight-outWeight int 超出
isCallerStop bool 是否停止医生端
callerStopWeight int 停止医生端权重
fullWeight int 满员权重
emptyWeight int 空位权重
queuePriorityWeight array(object) 队列优先级权重
queuePriorityWeight-level int 级别
queuePriorityWeight-wight int 权重
queuePriorityWeight-code string 编码 显示颜色
queuePriorityWeight-name string 名称
queuePriorityWeight-tips string 显示名称
queuePriorityWeight-remark string 备注
parallelGuideWeight object 并行指引权重
parallelGuideWeight-in int 命中
parallelGuideWeight-not int 未命中
appointmentGuideWeight object 预约指引权重
appointmentGuideWeight-in int 命中
appointmentGuideWeight-not int 未命中
noGuideWeight int 不指引权重
bringOutGuideWeight int 带出指引权重
extraDueFullWeight int 额外预排满员权重
NoDoctorGuideWight int 无医生权重

备注:

-

文档更新时间: 2023-10-19 15:10