多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/v1/classpay/childorder` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |pay_status|否|string|状态: -1家长确认中;0待付款;1已付款;2取消;3支付失败;4订单已失效|-| |num|否|string|每页数量|10| |p|否|string|页码|1| **返回示例** - success ```json { "ret": 0, "msg": "ok", "count": 3, "totalPages": 1, "data": [ { "id": 29, "ktid": 1, "type": 1, "uid": "1033145308280422934", "pay_type": "wx", "time": 2, "give_time": 1, "time_type": "month", "client_ip": "127.0.0.1", "order_no": "1066150218978907230", "charge_id": "", "origin": "android", "price": 112, "pay_uid": "1033145308280422934", "time_expire": 1502196989, "create_time": 1502189789, "update_time": 1502189789, "extra_info": "", "pay_status": -1, "status": 0, "title": "课堂功能", "username": "zoufengxsh", "realname": "zoufengxsh", "time_str": "2个月", "give_time_str": "1个月" }, { "id": 28, "ktid": 1, "type": 1, "uid": "1033145308280422934", "pay_type": "chinabank", "time": 2, "give_time": 1, "time_type": "month", "client_ip": "127.0.0.1", "order_no": "1066150218674413679", "charge_id": "", "origin": "android", "price": 112, "pay_uid": "1033145308280422934", "time_expire": 1502273144, "create_time": 1502186744, "update_time": 1502186744, "extra_info": "", "pay_status": 0, "status": 0, "title": "课堂功能", "username": "zoufengxsh", "realname": "zoufengxsh", "time_str": "2个月", "give_time_str": "1个月" }, { "id": 27, "ktid": 1, "type": 1, "uid": "1033145308280422934", "pay_type": "wx", "time": 2, "give_time": 1, "time_type": "month", "client_ip": "127.0.0.1", "order_no": "1066150218552623060", "charge_id": "ch_rTybb5efLOOKKeH0iTm5WXjH", "origin": "android", "price": 112, "pay_uid": "1033145308280422934", "time_expire": 1502192726, "create_time": 1502185526, "update_time": 1502185526, "extra_info": "{dfdfsd}", "pay_status": 4, "status": 0, "title": "课堂功能", "username": "zoufengxsh", "realname": "zoufengxsh", "time_str": "2个月", "give_time_str": "1个月" } ], "nowPage": 1, "totalRows": 3 } } ``` - error ```json { "ret": -1, "msg": "参数错误", "data": [] } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-08-10 14:12:46 * * * * *