多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
#### 我的积分总数 * 接口说明 我的累计积分、累计消费积分、今日获得积分 * 请求地址 /user\_api/get\_my\_user\_info * 请求参数 | 参数名称 | 类型 | 描述 | 是否必须 | | --- | --- | --- | --- | | token | string | 授权token header中提交 | 是 | | isIntegral | int | 积分总数统计 | 是 | * 请求方式 GET * 响应数据 ~~~ { "code": 200, "msg": "ok", "data": { "uid": 2, "account": "wx11548052447", "nickname": "༄许のོ࿆༘荣耀࿐", "avatar": "https:\/\/wx.qlogo.cn\/mmopen\/vi_32\/Q0j4TwGTfTI3crzwq5uZ83PBTkFXhjRCbHHK1lUZ0X4RHKoawFFA7h4ccpMfvULcoib9SV6ZUd6CV5Ypq9fhYibg\/132", "phone": "13679281569", "add_time": 1548052447, "add_ip": "223.166.222.110", "last_time": 1555387452, "last_ip": "123.139.140.52", "now_money": "0.00", "integral": 9, "sign_num": 1, "status": 1, "level": 0, "spread_uid": 0, "spread_time": 0, "user_type": "wechat", "is_promoter": 0, "pay_count": 24, "spread_count": 2, "sum_integral": 1090, "deduction_integral": 1002, "today_integral": 0 }, "count": 0 } ~~~ #### 我的积分明细 需要完善类型筛选 * 接口说明 我的积分明细 * 请求地址 /user\_api/user\_integral\_list * 请求参数 | 参数名称 | 类型 | 描述 | 是否必须 | | --- | --- | --- | --- | | token | string | 授权token header中提交 | 是 | | type | int | 账单类型0全部,1消费2签到 | 否 | | page | int | 请求起始页数,默认1 | 否 | | limit | int | 请求条数 | 否 | * 请求方式 GET * 响应数据 ~~~ { "code": 200, "msg": "ok", "data": [{ "mark": "购买商品使用1积分抵扣0.01元", "pm": 0, "number": 1, "add_time": "2019\/04\/13 11:04" }, { "mark": "用户累计签到第7天", "pm": 1, "number": 10, "add_time": "2019\/04\/11 10:01" }, { "mark": "用户累计签到第6天", "pm": 1, "number": 20, "add_time": "2019\/04\/10 09:18" }, { "mark": "用户累计签到第5天", "pm": 1, "number": 10, "add_time": "2019\/04\/09 21:10" }, { "mark": "购买商品使用1积分抵扣0.01元", "pm": 0, "number": 1, "add_time": "2019\/04\/09 19:37" }, { "mark": "用户累计签到第4天", "pm": 1, "number": 10, "add_time": "2019\/04\/03 11:35" }, { "mark": "用户累计签到第3天", "pm": 1, "number": 10, "add_time": "2019\/04\/01 22:18" }, { "mark": "用户累计签到第2天", "pm": 1, "number": 20, "add_time": "2019\/03\/30 09:29" }, { "mark": "用户累计签到第1天", "pm": 1, "number": 10, "add_time": "2019\/03\/29 12:26" }, { "mark": "购买商品使用986积分抵扣9.86元", "pm": 0, "number": 986, "add_time": "2019\/03\/29 10:36" }], "count": 0 } ~~~