多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 日志中心(TheLogs) ## 用户余额日志接口\[money\]【需登录】 用户余额日志接口 ### 请求URL http://www.yoursite.com/addons/cms/api.the\_logs/money ### 请求方法 GET ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | page | number | 否 | 分页页码 | 1 | ### 返回值 ~~~css { "code": 1, "msg": "", "time": "1616752143", "data": { "total": 68, "per_page": 10, "current_page": 1, "last_page": 7, "data": [ { "id": 186, "user_id": 1, "money": "-0.50", "before": "951.00", "after": "950.50", "memo": "购买付费文档:CrossFTP 1.99.0 非常给力的ftp/sftp工具", "type": "sys", "service_ids": "", "createtime": "2020-12-16 17:00:34" }, { "id": 185, "user_id": 1, "money": "+10.00", "before": "941.00", "after": "951.00", "memo": "充值", "type": "sys", "service_ids": "", "createtime": "2020-12-16 09:35:13" } ] } } ~~~ ## 用户积分日志接口\[score\]【需登录】 用户积分日志接口 ### 请求URL http://www.yoursite.com/addons/cms/api.the\_logs/score ### 请求方法 GET ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | page | number | 否 | 分页页码 | 1 | ### 返回值 ~~~css { "code": 1, "msg": "", "time": "1616752284", "data": { "total": 93, "per_page": 10, "current_page": 1, "last_page": 10, "data": [ { "id": 275, "user_id": 1, "score": 1, "before": 1969, "after": 1970, "memo": "连续签到1天", "createtime": "2021-03-09 16:40:00" }, { "id": 263, "user_id": 1, "score": 1, "before": 1968, "after": 1969, "memo": "连续签到1天", "createtime": "2021-01-20 09:19:49" }, { "id": 262, "user_id": 1, "score": 1, "before": 1967, "after": 1968, "memo": "连续签到1天", "createtime": "2021-01-18 16:36:24" } ] } } ~~~