奢侈品供应链开放平台
实现商品信息、库存和订单的实时同步
接口访问量API
| 接口地址 | http://host:port/api/v1/Pub/getAccessConf | ||
|---|---|---|---|
| 请求头 | |||
| 请求方式 | POST | ||
| 请求体 | "appid":"123456", "nonceStr":"k2f8oYmuCc", "timeStamp":"1679976183975" | ||
| 参数名 | 是否必须 | 类型 | 说明 |
| appid | 是 | String | 访问凭证 |
| nonceStr | 是 | String | 随机字符串 |
| timeStamp | 是 | String | uninx时间戳 |
page | 否 | int | 页码 默认1 |
| 返回结果 | { "code": 1, "msg": "success", "time": "1680688373", "data": { "count": 200, "todayUseNum": 4, "lists": [ { "id": 56, "api_name": "接口访问量API", "url": "/api/v1/Pub/getAccessConf", "call_time": 1680688373, "extend": { "appid": "al16i52xh81lhoozoh", "nonceStr": "k2f8oYmuCc", "timeStamp": "1679976183975", "page": "1" } } ], "currentPage": 1, "hasMore": false, "totalPage": 1 } } | ||
| 字段名 | 类型 | 说明 | |
| code | int | 是否正确处理请求,返回1或0 | |
| msg | String | 处理结果的消息 | |
| time | int | 请求时间戳 | |
| data | list | 请求数据结果集 | |
| data.count | int | 每日访问配额 | |
| data.todayUseNum | long | 今日使用量 | |
| data.lists | list | 当日访问接口对象集合 | |
| data.lists.id | int | id | |
| data.lists.api_name | String | 调用api名称 | |
| data.lists.url | String | 调用api | |
| data.lists.call_time | int | 调用时间 | |
| data.lists.extend | json | 调用的额外信息 | |
| currentPage | int | 当前页面 | |
| hasMore | bool | 是否有下页 true=有下页 false=无下页 | |
| totalPage | int | 总页码 | |