💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/v1/classpay/userpays` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |pay_status|否|string|支付状态.0:未付款;1:已付款;2:取消;3:支付失败|1| |num|否|string|每页数量|10| |type|否|string|1自付 2代付 3线下,可以传多个,用逗号隔开,移动端固定传(1,2)|-| |p|否|string|页码|1| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "count": 2, "totalPages": 1, "data": [ { "id": 1, "ktid": 1, "type": 1, "uid": "1033145308280422934", "pay_type": "wx", "time": 24, "give_time": 6, "time_type": "month", "price": 200, "pay_uid": "1033145308280423086", "create_time": 1501054176, "update_time": 1501054176, "extra_info": " ", "pay_status": 1, "status": 0, "title": "课堂功能", "realname": "成岩伟", "time_str": "2年", "give_time_str": "6个月" }, { "id": 3, "ktid": 1, "type": 2, "uid": "1033145308280422934", "pay_type": "chinabank", "time": 18, "give_time": 5, "time_type": "month", "price": 168, "pay_uid": "1033145308280422915", "create_time": 1501054176, "update_time": 1501054176, "extra_info": null, "pay_status": 1, "status": 0, "title": "课堂功能", "realname": "青州哈", "time_str": "18个月", "give_time_str": "5个月" } ], "nowPage": 1, "totalRows": 2 } } ``` - error ```json { "ret": -1, "msg": "参数错误", "data": [] } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-08-02 14:58:57 * * * * *