请求方式 | 版本信息 | 请求地址 |
---|---|---|
POST | V2 | http://openapi.zvcms.com/api/v2 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
OpenId | string | 是 | 密钥Id | |
GrantCode | string | 是 | 授权code | |
Token | string | 是 | 签名,参考《数字签名sign》 | |
Timestamp | string | 是 | 当前时间戳 | |
Nonce | string | 是 | 随机正整数 | |
Action | string | 是 | user.user-points-records | 接口方法 |
Params | array | 是 | 业务参数 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
user_id | int | 是 | 用户 ID | |
page_size | int | 否 | 10 | 每页多少条数据 |
page | int | 否 | 1 | 页码 |
参数 | 参数类型 | 描述 |
---|---|---|
status | bool | 请求成功或者失败 |
code | int | 成功/错误编码 |
message | string | 成功/错误描述 |
data | array | |
├current_page | int | 当前页码 |
├per_page | int | 每页显示多少条 |
├last_page | int | 共有多少页 |
├total | int | 共有多少条数据 |
├item_list | array | |
├0 | array | |
├previous_point | int | 积分变更前的积分数 |
├type | int | 类型: 1 : 奖励积分 2 : 消耗积分 |
├sub_type | int | type=2时的消耗类型,1:兑换优惠券,2:订单购买力 |
├sub_name | string | type=2时,优惠券名称、购买商品名称 |
├points | int | 积分数 |
├desc | string | 备注 |
├created_at | DateTime | 创建时间 |
├change_text | string | 变更明细 |
{ "OpenId": "6dc05b4ac175cf316d226252b05cf685", "GrantCode": "782c281f62", "Timestamp": "1547186244", "Nonce": "658965", "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D", "Action": "user.user-points-records", "Params": { "user_id": "", "page_size": "", "page": "" } }
{ "status": "true", "code": "0", "message": "说明", "data": { "current_page": "", "per_page": "", "last_page": "", "total": "", "item_list": [ { "previous_point": "", "type": "", "sub_type": "", "sub_name": "", "points": "", "desc": "", "created_at": "", "change_text": "" } ] } }
{ "status": true, "code": "异常编码,根据不同的业务返回编码", "message": "异常说明:查询的信息不存在" }
{ "status": false, "code": "系统错误编码:详见全局返回编码", "message": "系统错误说明" }
请求方式 | 版本信息 | 请求地址 |
---|---|---|
POST | V2 | http://openapi.zvcms.com/api/v2 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
OpenId | string | 是 | 密钥Id | |
GrantCode | string | 是 | 授权code | |
Token | string | 是 | 签名,参考《数字签名sign》 | |
Timestamp | string | 是 | 当前时间戳 | |
Nonce | string | 是 | 随机正整数 | |
Action | string | 是 | user.user-points-records | 接口方法 |
Params | array | 是 | 业务参数 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
user_id | int | 是 | 用户 ID | |
page_size | int | 否 | 10 | 每页多少条数据 |
page | int | 否 | 1 | 页码 |
type | string | 否 | 筛选: all 全部; in 收入; out 支出 |
参数 | 参数类型 | 描述 |
---|---|---|
data | array | |
├item_list | array | |
├0 | array | |
├type | int | 类型: 1 : 奖励积分 2 : 消耗积分 |
├created_at | DateTime | 创建时间 |
├points | int | 奖励或消耗的积分 |
├source_desc | string | 积分描述 |
{ "OpenId": "6dc05b4ac175cf316d226252b05cf685", "GrantCode": "782c281f62", "Timestamp": "1547186244", "Nonce": "658965", "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D", "Action": "user.user-points-records", "Params": { "user_id": "", "page_size": "", "page": "", "type": "" } }
{ "status": "true", "code": "0", "message": "说明", "data": { "data": { "item_list": [ { "type": "", "created_at": "", "points": "", "source_desc": "" } ] } } }
{ "status": true, "code": "异常编码,根据不同的业务返回编码", "message": "异常说明:查询的信息不存在" }
{ "status": false, "code": "系统错误编码:详见全局返回编码", "message": "系统错误说明" }
免费升级
营销功能、插件持续每月更新开发升级
免费专业培训
每月建站、微信营销、电商等互联网增值培训
7×24小时服务支持
400电话、QQ、微信、在线等多渠道售后支持
安徽智迈科技股份有限公司 版权所有 Copyright 2009-2018 皖公网安备 34019202000074号 增值电信业务经营许可证:皖B2-20170075