报修下单支付

请求URL:

  • user/master/put

请求方式:

  • POST

参数:

字段 类型 默认 注释
master_id int(11) 师傅id
type varchar(50) 维修类型
title varchar(50) 标题
time varchar(50) 上门时间
images varchar(50) 需求图片json
money varchar(50) 金额
contract_id varchar(50) 合同ID

返回示例

{
    "code": 0,
    "msg": "成功",
    "data": {
        "pay": {
            "status": 200,
            "message": "操作成功!",
            "count": 0,
            "totalCount": 0,
            "empty": true,
            "data": {
                "onlinePayTempDocCode": null,
                "docCode": "PAY-20211025225600012721",
                "payCode": null,
                "payNo": null,
                "status": null,
                "weChatPayInfo": {
                    "appId": "wx6920d3d4f9a46e97",
                    "timeStamp": "1635173761",
                    "nonceStr": "2f38d45ff9db4732b20d4277c9320b73",
                    "packages": "prepay_id=wx252256009744286ed75b3036b091320000",
                    "signType": "RSA",
                    "paySign": "rADFFAMegc7ZCMzIfMTtWWD4uycy45Eg6fT4zcYgXk+AfFXZ/BX8MzzGTbLBW/BtLmonaInABDGax0YWqmVjDbOhvBD5ATlvS9badWbm95R1w38PxAtQfL3+zMnKURYXfiMQ7wF9VoyCTRiNSnj/RXCuQ3wvT3jmCoGEECQVSM2PW2/HYgzD3awy9iNuiJxwRaZX3DNN3mM5GBVZQTyBHhwdgy5H/RSTN6SKshaCZz8vzK4wvKYvXXYB9ytc3aGzl13YuKUlV2cPQDyfHTL5GP+R/8A9+gRzqMV2PSwVOtLeEUleIG/fUHmNyG8JhSV3wI8GKfoYAHHNXmYq/NSbfA=="
                },
                "weChatPayInfoStr": "{\"appId\":\"wx6920d3d4f9a46e97\",\"nonceStr\":\"2f38d45ff9db4732b20d4277c9320b73\",\"package\":\"prepay_id=wx252256009744286ed75b3036b091320000\",\"paySign\":\"rADFFAMegc7ZCMzIfMTtWWD4uycy45Eg6fT4zcYgXk+AfFXZ/BX8MzzGTbLBW/BtLmonaInABDGax0YWqmVjDbOhvBD5ATlvS9badWbm95R1w38PxAtQfL3+zMnKURYXfiMQ7wF9VoyCTRiNSnj/RXCuQ3wvT3jmCoGEECQVSM2PW2/HYgzD3awy9iNuiJxwRaZX3DNN3mM5GBVZQTyBHhwdgy5H/RSTN6SKshaCZz8vzK4wvKYvXXYB9ytc3aGzl13YuKUlV2cPQDyfHTL5GP+R/8A9+gRzqMV2PSwVOtLeEUleIG/fUHmNyG8JhSV3wI8GKfoYAHHNXmYq/NSbfA==\",\"signType\":\"RSA\",\"timeStamp\":\"1635173761\"}"
            },
            "success": true
        },
        "alipay_url": "http://ysj.carryba.com/addons/zjhj_mall/core/web/index.php?r=code/code&code=https://qr.alipay.com/bax06921h4i6zl6cpdiw307d",
        "wx_url": "http://ysj.carryba.com/addons/zjhj_mall/core/web/index.php?r=code/code&code=https://qr.alipay.com/bax02225gelmtowxke5f25c8"
    }
}

返回参数说明

字段 类型 默认 注释
pay int(11) 小程序支付信息
alipay_url varchar(255) 支付宝支付二维码
wx_url varchar(255) 微信支付二维码