[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.user/recognition?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5&words=13338772204
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
words |
是 |
string |
电话或者卡号 |
返回示例
{
"code": 1,
"msg": "success",
"data": {
"user_id": 14,
"union_id": "oV9Ls0ha_obP5a5tBNQrb8Rva02k",
"open_id": "ov9ED0VzrTpTOpGerKvyXw_K17R4",
"user_type": 1,
"user_name": "",
"password": "",
"nickname": "Nikoo",
"avatar": "https://oss.onecard.taihuyun.vip/uploads/admin/avatar/ATQr9oXQVcwtTFunHYBoL3mwiesLTdjp42e25fb1da77f9c9c463088a8af9eab0.jpeg",
"gender": "未知",
"country": "",
"province": "",
"city": "",
"money": "0.00",
"linkman": "",
"phone": "13338772204",
"pay": "0.00",
"score": 0,
"converted": 0,
"v": 1,
"birthday": "",
"address_id": 0,
"recommender": {
"text": "平台推荐",
"value": 0
},
"status": {
"text": "用户",
"value": 10
},
"platform": {
"text": "微信",
"value": 10
},
"is_subscribe": 0,
"agent_id": 0,
"login_count": 0,
"applet_id": 1,
"identity": {
"text": "化验室",
"value": 4,
"company_text": "化验室",
"company_value": 4
},
"position": {
"text": "",
"value": 0
},
"department_id": {
"value": 0,
"text": "全部"
},
"auth": "",
"work_no": "0000000",
"card_no": "666666",
"is_del": 0,
"create_time": "2022-10-20 15:41:47",
"update_time": "2022-12-14 15:22:14",
"ticket_count": 1,
"details": {},
"usable": 0
}
}
返回参数说明
参数名 |
类型 |
说明 |
user_name |
string |
用户姓名 |
password |
string |
密码 |
nickname |
string |
昵称 |
avatar |
string |
头像 |
gender |
string |
性别 |
phone |
int |
手机号 |
linkman |
string |
联系人 |
status.value |
int |
用户状态,10.用户;20.店长 |
create_time |
string |
创建金额 |
card_no |
string |
卡号 |
ticket_count |
num |
餐券数 |
image |
string |
优惠的菜品图片 |
identity.text |
string |
部门名称 |
备注