企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 个人首页 **请求URL:** - ` index/User/index ` **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |token | 是 | string | 用户token | **返回示例** ``` { "code": 1, "msg": "读取信息成功", "data": { "user_info": { "id": 1, "account": "13298381901", "real_name": "狂杀全世界", "birthday": 19940719, "nick_name": "天线宝宝", "avatar": "/uploads/20200403/thumb_88f43b86c2978fc2ccab6ec573f3275e.png", "add_time": 2020, "add_ip": "127.0.0.1", "last_time": 1970, "last_ip": "", "pid": 0, "code": "", "is_promoter": 0, "pay_count": 0, "balance": "7510.00", "commission": "7800.00", "integral": "40.00", "level": 0, "amount_consumed": "2500.00", "sign_days": 1, "total_sign_days": 109, "recommend_num": 99, "status": 1, "coupon": 2, "order": { "wait_pay": 1, "wait_send": 0, "wait_recd": 0, "wait_comm": 0, "after_server": 1 } }, "menu": [ { "id": 9, "cate_id": 2, "title": "会员中心", "img": "/uploads/20200324/55c3f14753432c0d46a5b72e9f733a21.png", "url": "", "url2": "", "sort": 0, "is_show": 1 }, { "id": 10, "cate_id": 2, "title": "砍价记录", "img": "/uploads/20200324/99fa2387e83ba1fb69d7194e5008d98b.png", "url": "", "url2": "", "sort": 0, "is_show": 1 } ] } } ``` **data返回值说明** |参数|类型|描述| |:-------|:-------|:-------| | - user_info |object | 用户信息 | | id | number| id | | account | string| 账号 | | real_name | string| 真实姓名 | | birthday | number| 生日 | | nick_name | string| 昵称 | | avatar | string| 头像 | | add_time | number| 注册时间 | | add_ip | string| 注册ip | | last_time | number| 最后登录时间 | | last_ip | string| 最后登录ip | | pid | number| 上级id| | code | string| 推荐码 | is_promoter | number| 是否为推广员:1是,0否 | | pay_count | number| 用户已完成的订单数 | | balance | string| 用户余额 | | commission | string| 佣金 | | integral | string| 积分 | | level | number| 会员等级 | | amount_consumed | string| 已消费金额 | | sign_days | number| 连续签到天数 | | total_sign_days | number| 总计签到天数 | | recommend_num | number| 已推荐人数 | | status | number| 无 | | coupon | number| 优惠券数量 | | - order |object | 用户订单信息 | | wait_pay | number| 待付款订单数量 | | wait_send | number| 待发货订单数量 | | wait_recd | number| 待收货订单数量 | | wait_comm | number| 待评价订单数量 | | after_server | number| 售后退款单数量 | | - menu |object | 菜单信息 | | id | number| 菜单id | | title | string| 菜单名称 | | img | string| 菜单图片 | | url | string| 菜单链接地址 |