文档
测试

支付获取信息

GET
http://192.168.1.181:7072/meridian-portable-logic/goods/order/pay/pay/before

请求参数

参数名
类型
描述
必填
orderId
string
订单id
必填

响应数据

```json // 参数说明 "feesTotal": 268, // 总价 "balance": 0, // 账户当前余额 "type": 0, // 医生的付费模式:0:充值模式,1:月结模式,2:单次支付模式 "numHabitusTotal": 3, // 体质膏方次数(包含赠送和充值的), "moneyCurr": 3202.3, // 本月累计账单 "url": "weixin://wxpay/bizpayurl?pr=elw0vpY00", // 二维码(为空则没有) "isPay": false // 月结模式下, 为false,不能支付,true: 可以 # 月结模式,返回信息 { "errorCode": 0, "msgType": 1, "result": { "feesTotal": 534, // 订单金额, "isPay": false, // 为false,不能支付,true: 可以 "moneyCurr": 2324, // 当月累计账单 "type": 2 // 医生付费模式 } } # 充值模式,余额或者体质膏方有 { "errorCode": 0, "msgType": 1, "result": { "balance": 1999.94, "numHabitusTotal": 2, "feesTotal": 534, "type": 1 } } # 充值模式,有余额 { "errorCode": 0, "msgType": 1, "result": { "balance": 1999.94, "numHabitusTotal": 0, "feesTotal": 534, "type": 1 } } # 充值模式,没有余额,扫码支付 { "errorCode": 0, "msgType": 1, "result": { "balance": 0, "numHabitusTotal": 0, "feesTotal": 534, "type": 1, "url": "weixin://wxpay/bizpayurl?pr=IwuYXdP00" } } # 单次支付模式 { "errorCode": 0, "msgType": 1, "result": { "feesTotal": 534, "type": 0, "url": "weixin://wxpay/bizpayurl?pr=IoamJjq00" } } ```