feat(escort): 微信支付入口与取消状态展示
- 下单改为提交预约后弹窗选择支付方式,默认微信支付 - 预约详情支持发起微信支付、查单确认与待支付期间切换支付方式 - 预约列表展示支付渠道、待支付/超时状态并提供去支付入口 - 取消状态与 status 解耦,展示状态优先取 cancelStatus - 详情页医院选择回传字段同步移除 manual
This commit is contained in:
@@ -25,6 +25,9 @@ const API = {
|
||||
updateRecord: (id, data) => request.put(`/health/escort-record/${id}`, data),
|
||||
updateStatus: (id, data) => request.patch(`/health/escort-record/${id}/status`, data),
|
||||
deleteRecord: (id) => request.delete(`/health/escort-record/${id}`),
|
||||
// 微信支付:发起支付返回调起收银台参数;支付结果以后端查单为准
|
||||
payOrder: (id) => request.post(`/health/escort-record/${id}/pay`),
|
||||
getPayStatus: (id) => request.get(`/health/escort-record/${id}/pay/status`),
|
||||
// 陪诊师公示列表(公开接口,后端已做脱敏)
|
||||
getAttendants: (params) => request.get('/health/attendant', params),
|
||||
// 单个陪诊师详情,同一份白名单数据
|
||||
|
||||
Reference in New Issue
Block a user