Weteach-小程序


支付订单

<p><strong>简要描述:</strong> </p> <ul> <li>支付订单</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/cli/order/{id}/pay</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>PUT </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> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>主订单 ID</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>授权类型:wechat_open:开放平台;wechat_app:APP应用</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "error_code": 0, "data": { "return_code": "SUCCESS", "return_msg": "OK", "appid": "wx2421b1c4390ec4sb", "mch_id": "10000100", "nonce_str": "IITRi8Iabbblz1J", "openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeSs6o", "sign": "7921E432F65EB8ED0CE9755F0E86D72F2", "result_code": "SUCCESS", "prepay_id": "wx201411102639507cbf6ffd8b0779950874", "trade_type": "JSAPI" } }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML