🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/pad/checkBuyService` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string|学生uid|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "priceinfo": [ { "id": 25, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 1, "give_time": 0, "time_type": "month", "price": "0.01", "create_time": 1503737160, "update_time": 1504274489, "status": 0 }, { "id": 26, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 6, "give_time": 1, "time_type": "month", "price": "300.00", "create_time": 1503737174, "update_time": 1503737174, "status": 0 }, { "id": 27, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 12, "give_time": 0, "time_type": "month", "price": "599.00", "create_time": 1503737193, "update_time": 1503737193, "status": 0 }, { "id": 28, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 24, "give_time": 1, "time_type": "month", "price": "699.00", "create_time": 1503737264, "update_time": 1503737264, "status": 0 }, { "id": 29, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 36, "give_time": 2, "time_type": "month", "price": "999.00", "create_time": 1503737280, "update_time": 1503737280, "status": 0 }, { "id": 30, "version": "1", "areaid": "1033144472317199292", "type": "school", "time": 120, "give_time": 12, "time_type": "month", "price": "1000000.00", "create_time": 1503737312, "update_time": 1503737312, "status": 0 } ], "userinfo": { "uid": "1034145308280459442", "username": "sjzxs003", "realname": "三石头", "identitytype": 3, "xxmc": "石家庄市第一中学", "xd": "21", "njmc": "2017", "classname": "一班", "pad": 1, "schoolid": "1033144472317199292", "gradeid": 1840, "area": 130102, "city": 130100, "province": 130000 } } } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2018-08-10 14:07:07 * * * * *