报修下单支付
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>user/master/put</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">master_id</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>师傅id</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>维修类型</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>标题</td>
</tr>
<tr>
<td style="text-align: left;">time</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>上门时间</td>
</tr>
<tr>
<td style="text-align: left;">images</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>需求图片json</td>
</tr>
<tr>
<td style="text-align: left;">money</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>金额</td>
</tr>
<tr>
<td style="text-align: left;">contract_id</td>
<td style="text-align: left;">varchar(50)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>合同ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"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"
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>默认</th>
<th>注释</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pay</td>
<td style="text-align: left;">int(11)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>小程序支付信息</td>
</tr>
<tr>
<td style="text-align: left;">alipay_url</td>
<td style="text-align: left;">varchar(255)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>支付宝支付二维码</td>
</tr>
<tr>
<td style="text-align: left;">wx_url</td>
<td style="text-align: left;">varchar(255)</td>
<td style="text-align: left;">是</td>
<td></td>
<td>微信支付二维码</td>
</tr>
</tbody>
</table>