文档
测试

获取店员信息列表

GET
localhost:8080/app/staff/getStaff

接口描述

获取店员信息列表

响应参数

参数名
类型
描述
必填
msg
string
结果提示
必填
code
int
结果代码
必填
data
array
相应数据
必填
isdeleted
int
是否删除(0:否;1:是)
必填
timeCreate
string
创建时间
必填
timeModified
string
修改时间
必填
id
int
主键id
必填
storeId
int
商家id
必填
userId
int
所属用户id
必填
staffName
string
人员名字
必填
staffAccount
string
账号
必填
authorityId
int
权限(1:客服;2:运营;3:客服与运营:4:店铺总管)
必填
lastTime
object
上次登录时间
必填

响应示例

``` { "msg": "操作成功", "code": 200, "data": [ { "isdeleted": 0, "timeCreate": "2020-09-21", "timeModified": "2020-09-21", "id": 1, "storeId": 3, "userId": 2, "staffName": "xiaohua2", "staffAccount": "15817800486", "authorityId": 1, "lastTime": null }, { "isdeleted": 0, "timeCreate": "2020-09-21", "timeModified": "2020-09-22", "id": 2, "storeId": 3, "userId": 2, "staffName": "shanshan", "staffAccount": "2287962876@qq.com", "authorityId": 3, "lastTime": null }, { "isdeleted": 0, "timeCreate": "2020-09-21", "timeModified": "2020-09-21", "id": 3, "storeId": 3, "userId": 2, "staffName": "xiaoming", "staffAccount": "2287962876@qq.com", "authorityId": 2, "lastTime": null }, { "isdeleted": 0, "timeCreate": "2020-09-21", "timeModified": "2020-09-21", "id": 5, "storeId": 3, "userId": 3, "staffName": "a", "staffAccount": "1", "authorityId": 1, "lastTime": null }, { "isdeleted": 0, "timeCreate": "2020-09-21", "timeModified": "2020-09-21", "id": 6, "storeId": 3, "userId": 4, "staffName": "n", "staffAccount": "1", "authorityId": 3, "lastTime": null } ] } ```