简要描述:
店员-店长管理也
请求域名:
- http://xx.com
请求路由:
GET/&route=plugin.store-scan-code-meals.frontend.restaurant.index
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "info",
"data": {
"member_info": {
"uid": 2455,
"nickname": "Joe",
"realname": "demo测试",
"mobile": "15219025049",
"avatar": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
"avatar_image": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
"username": "Joe"
},
"role": 2,
"store": {
"id": 8,
"uid": 2462,
"store_name": "顺通石化测试站",
"thumb": "http://demo.yun.cn/static/upload/images/6/2021/12/mojian.jpg"
},
"classify": [
{
"id": 1,
"uniacid": 6,
"store_id": 8,
"order_by": 0,
"name": "测试分区",
"created_at": "2025-07-22 15:53:08"
}
]
}
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
role | int | 权限:0普通会员、1店长、2店员 | |
member_info.uid | string | 会员信息 | |
member_info.username | string | 会员名称 | |
member_info.mobile | string | 会员手机号 | |
member_info.avatar_image | string | 头像 | |
store.id | int | 门店ID | |
store.store_name | int | 门店名称 | |
store.thumb | string | 门店图片 | |
classify | array | 分区 |
classify参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | 分区ID | |
name | int | 分区名称 |