KesionEDU网校V10(2022)


机构批量代报名,生成订单(第二步)

<h5>简要描述</h5> <ul> <li>机构批量代报名,生成订单(第二步)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com//webapi/school/SaveBatchBill</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>1课程,2班级,3训练营</td> </tr> <tr> <td style="text-align: left;">courseids</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>课程ID或是班级ID集合,多门课程用逗号隔开</td> </tr> <tr> <td style="text-align: left;">userids</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>学生账号ID,多个用户ID用英文逗号隔开</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     "qrcode":"/plus/chart.ashx?text=http://127.0.0.1/index.aspx0***0c=user2***2a=topay2***2payorderid=KSE83168472",     "totalprice":"100.00",     "isshowpay":true,     "student":{         "student_realname":"222",         "student_username":"test001"     },     "result":true,     "data":{         "purchase_price":"0.01",         "market_price":"100.00",         "name":"班级报名测试",         "bmendtime":"2023-04-28 10:58:03",         "teachway":1,         "buylimit":10,         "photourl":"http://127.0.0.1/UploadFiles/2022/112/9132901744051173.jpg",         "bmbegintime":"2022-09-04 15:21:50"     },     "msg":"success",     "inputtime":"2022/9/4 15:23:53",     "orderid":"KSE23487872",     "sellerprice":"0.01",     "paymentlist":[         {             "rate":"0",             "payid":"8",             "logo":"http://127.0.0.1/sysimg/pay/alipay.png",             "payname":"支付宝即时到账",             "isdefault":"1"         },         {             "rate":"1",             "payid":"14",             "logo":"http://127.0.0.1/sysimg/pay/unionpay.png",             "payname":"银联在线支付",             "isdefault":"0"         },         {             "rate":"1",             "payid":"15",             "logo":"http://127.0.0.1/sysimg/pay/weixin.png",             "payname":"微信支付",             "isdefault":"0"         }     ],     "ispay":false,     "payorderid":"KSE83168472",     "balance":"9087.54" }</code></pre> <h5>返回参数说明</h5> <p>显示支付界面,如下图: <img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=286f6e36812b5aeeeb426d094323416d&amp;file=file.png" alt="" /></p> <p>如上图,机构代支付,点确认,执行接口:<a href="https://www.showdoc.com.cn/kesionwebapi/9304947173816576">https://www.showdoc.com.cn/kesionwebapi/9304947173816576</a></p> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML