💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 获取用户信息 ~~~[api] post:/index/User/userinfo varchar:user_sid=680130509534c15893e3603bd782d3cb #登录密钥 int:user_uid=1#登录的该用户id <<< success { "code": 1, "msg": "获取成功", "data": { "id": 1, //用户id "nickname": "B$boy", //微信昵称 "mid": 10001, //会员id "name": "小哈", //会员名字 "phone": "12345678912", //会员手机 "balance": "870", //余额 "point": "64", //积分 "discount": "100%", //折扣 "city": "中国-江西-赣州", //通讯地址 "sex": 1, //性别 "avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIoyT5lUnfCSicNIib24AuLSJMjZ65bH0fTf9PiczvVvKyMe1ArszH8KYgZepVUYDouaO5GtLqqMoZOw/132", //头像 "openid": "oa5Zy54LOmX1sA7fb64KBWKbJ_1w", "status": 1, "istrue": 1, "money": "0.00", //余额 "role": 1, //0=店员;1=顾客;2=店长 "integral": 0 } } <<< error { "code": 0, "msg": "未登录", "url": "/index/login/index.html" } ~~~