其他定制接口

# `请求地址:认证站域名/api/sdk/` ## 绑定密保问题 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: xy.vip.bind.question|是| | uid | uid | int | id | | token |token | string| cookie| | 密保问题 | question | string | 密保问题 | | 密保答案 | answer | string | 密保答案 | ### 请求响应 ``` json { "code":1, "msg":null, "data":null } ``` ## 验证密保问题 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: xy.vip.verify.question|是| | uname | uname | string | uname | | 密保问题 | question | string | 密保问题 | | 密保答案 | answer | string | 密保答案 | ### 请求响应 ``` json { "code":1, "msg":null, "data":null } ``` ## 重置密码 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: xy.user.cgpass |是| | uname |uname | string| uname| | 密码 | newpass | string | 密码 | ### 请求响应 ``` json { "code":1, "msg":null, "data":null } ``` ## 查询订单状态 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: xy.pay.order.state |是| | 时间戳 | time | string | 指格林威治时间1970年01月01日00时00分00秒起至现在的总秒数 |是| | uid | uid | int | id | | uname |uname | string| uname| | other | other| string | other | ### 请求响应 ``` json { "code":1, "msg":null, "data":"xxx",//订单号 } ``` ## 创建订单 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: xy.pay.order.create |是| | 时间戳 | time | string | 指格林威治时间1970年01月01日00时00分00秒起至现在的总秒数 |是| | pid | pid | string | pid | | gid | gid | string | gid | | sid | sid | string | sid | | uid | uid | string | id | | money | money | double | 充值金额 | | other | other| string | other | | paytype |paytype | string| paytype| | productid | productid | string | 商品ID | ### 请求响应 ``` json { "code":1, "msg":null, "data":null } ``` ## 角色上报 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: sdk.update.role |是| | 时间戳 | time | string | 指格林威治时间1970年01月01日00时00分00秒起至现在的总秒数 |是| | gid | gid | string | gid | | sid | sid | string | sid | | uid | uid | string | id | | uname |uname | string| uname| | rolename | rolename | string | rolename | | rolenumber | other| string | rolenumber | | level |paytype | string| level| ### 请求响应 ``` json { "code":1, "msg":null, "data":null } ``` ## 获取小程序和云环境参数 ### 请求参数 | 名称 | 参数名 | 类型 | 说明|是否必填| |------------|--------|--------|---------|-----------| | 请求类型 | type | string | 固定值: sdk.miniprogram.config|是| ### 请求响应 ``` json { "code":1, "msg":null, "data":{ "uuid":"xxx", "jumpUrl":"" } } ``` ### 返回参数说明 | 参数名 | 类型 | 说明 | |--------|--------|--------------| | code | bool | 是否执行成功 | | msg | string | 返回的信息 | | data | object | 具体数据 |