### (文档)获取购买记录(会员)
~~~[api]
get:/data/api.document/history
*string:token=1cc4e7da542381942ab8feaf786697f1#授权认证令牌
string:page#指定分页
<<<
success
{
"code": 1,
"info": "获取购买订单",
"data": {
"page": {
"limit": 10,
"total": 2,
"pages": 1,
"current": 1
},
"list": [
{
"id": 2,
"order_no": "202001036408666052",
"type": 1,
"uid": 10000,
"mid": 6,
"code": "a67769081150338487",
"title": "Centos-Subversion 升级版本1.8.pdf",
"amount": "10.00",
"create_at": "2020-01-03 16:48:08",
"doc": {
"id": 1,
"uid": 10000,
"code": "a67769081150338487",
"tags": ",电商,营销,",
"theme_id": 1,
"read_price": "10.00",
"down_price": "20.00",
"read_num": 10,
"down_num": 20,
"doc_title": "Centos-Subversion 升级版本1.8.pdf",
"doc_image": "https://advertiser.xd.cuci.cc/upload/f47b8fe06e38ae99/08e8398da45583b9.png",
"doc_page": 10,
"doc_type": "pdf",
"doc_link": "https://advertiser.xd.cuci.cc/upload/052b32aa06390b8f/c2d6c6b6b8026a03.pdf",
"doc_size": 55613,
"describe": "",
"status": 1,
"sort": 0,
"is_deleted": 0,
"create_at": "2019-12-30 15:23:55"
}
},
{
"id": 1,
"order_no": "202001036353250298",
"type": 1,
"uid": 10000,
"mid": 6,
"code": "a67778226752617264",
"title": "Memcache 使用 Iptables 做 IP 访问限制.pdf",
"amount": "10.00",
"create_at": "2020-01-03 16:47:53",
"doc": {
"id": 2,
"uid": 10000,
"code": "a67778226752617264",
"tags": ",营销,电商,",
"theme_id": 2,
"read_price": "10.00",
"down_price": "20.00",
"read_num": 0,
"down_num": 0,
"doc_title": "Memcache 使用 Iptables 做 IP 访问限制.pdf",
"doc_image": "https://advertiser.xd.cuci.cc/upload/f47b8fe06e38ae99/08e8398da45583b9.png",
"doc_page": 10,
"doc_type": "pdf",
"doc_link": "https://advertiser.xd.cuci.cc/upload/e1b854860cd1c70f/486203d6085fad13.pdf",
"doc_size": 34756,
"describe": "",
"status": 1,
"sort": 0,
"is_deleted": 0,
"create_at": "2019-12-31 16:51:41"
}
}
]
}
}
<<<
error
{
"code": 0,
"info": "余额不足,请充值后再来购买!",
"data": {}
}
~~~
- (基础)获取参数配置(无状态)
- (基础)小程序数据处理(无状态)
- (基础)获取小程序二维码(无状态)
- (基础)获取轮播图片(无状态)
- (基础)获取文档标签(无状态)
- (基础)获取热搜标签(无状态)
- (基础)获取文档主题(无状态)
- (会员)设置关注主题(会员)
- (会员)设置会员手机号(会员)
- (会员)获取我邀请的好友
- (会员)获取会员资料(会员)
- (文档)获取文档列表(无状态)
- (文档)获取文档列表(会员)
- (文档)会员收藏处理(会员)
- (文档)获取我的收藏记录(会员)
- (文档)会员购买文档(会员)
- (文档)获取购买记录(会员)
- (方案)获取方案列表(无状态)
- (方案)获取方案列表(会员)
- (方案)会员购买方案(会员)
- (方案)获取购买记录(会员)
- (充值)会员余额充值(会员)
- (充值)获取充值记录(会员)
- (VIP)创建充值VIP会员(会员)
- (VIP)获取VIP充值记录(会员)
- (文档)增加文档阅读数(会员)
- (文档)增加文档下载数(会员)
- (方案)增加方案下载数(会员)