user - 用户
- api/user/get GET 根据Id查询
- api/user/getlist GET 门店 分页查询
- api/user/getlisttoshop GET 门店 门店获取人员分页查询
- api/user/getfulllist GET 门店 查询所有
- api/user/getbyusername GET 查找用户
- api/user/create POST 新增
- api/user/update POST 修改
- api/user/delete POST 删除
- api/user/updatepassword POST 修改密码
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | id |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 编码 |
| id | int | |
| inUse | boolean | 是否启用 |
| isDefault | boolean | 是否是默认 |
| password | string | 密码 |
| phone | string | 电话 |
| realName | string | 姓名 |
| roleId | int | 角色Id |
| roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| tenantId | int | |
| tenantName | string | 租户名 |
| tenantType | string | 0:; 1:; 2: |
| userName | string | 用户名 |
响应示例
application/json, text/json
{
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
}
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| keyword | string | 关键字 |
| pageIndex | int | 当前页码 |
| pageSize | int | 每页条数 |
| roleId | int | 角色id |
| shopId | int | 门店id |
| status | int | 状态 |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- code | string | 编码 |
| ┆- id | int | |
| ┆- inUse | boolean | 是否启用 |
| ┆- isDefault | boolean | 是否是默认 |
| ┆- password | string | 密码 |
| ┆- phone | string | 电话 |
| ┆- realName | string | 姓名 |
| ┆- roleId | int | 角色Id |
| ┆- roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| ┆- tenantId | int | |
| ┆- tenantName | string | 租户名 |
| ┆- tenantType | string | 0:; 1:; 2: |
| ┆- userName | string | 用户名 |
| pageIndex | int | |
| pageSize | int | |
| sumData | {...} | |
| ┆- code | string | 编码 |
| ┆- id | int | |
| ┆- inUse | boolean | 是否启用 |
| ┆- isDefault | boolean | 是否是默认 |
| ┆- password | string | 密码 |
| ┆- phone | string | 电话 |
| ┆- realName | string | 姓名 |
| ┆- roleId | int | 角色Id |
| ┆- roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| ┆- tenantId | int | |
| ┆- tenantName | string | 租户名 |
| ┆- tenantType | string | 0:; 1:; 2: |
| ┆- userName | string | 用户名 |
| totalCount | int |
响应示例
application/json, text/json
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| keyword | string | 关键字 |
| pageIndex | int | 当前页码 |
| pageSize | int | 每页条数 |
| roleId | int | 角色id |
| shopid | int | 门店id |
| status | int | 状态 |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- code | string | 编码 |
| ┆- id | int | |
| ┆- inUse | boolean | 是否启用 |
| ┆- isDefault | boolean | 是否是默认 |
| ┆- password | string | 密码 |
| ┆- phone | string | 电话 |
| ┆- realName | string | 姓名 |
| ┆- roleId | int | 角色Id |
| ┆- roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| ┆- tenantId | int | |
| ┆- tenantName | string | 租户名 |
| ┆- tenantType | string | 0:; 1:; 2: |
| ┆- userName | string | 用户名 |
| pageIndex | int | |
| pageSize | int | |
| sumData | {...} | |
| ┆- code | string | 编码 |
| ┆- id | int | |
| ┆- inUse | boolean | 是否启用 |
| ┆- isDefault | boolean | 是否是默认 |
| ┆- password | string | 密码 |
| ┆- phone | string | 电话 |
| ┆- realName | string | 姓名 |
| ┆- roleId | int | 角色Id |
| ┆- roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| ┆- tenantId | int | |
| ┆- tenantName | string | 租户名 |
| ┆- tenantType | string | 0:; 1:; 2: |
| ┆- userName | string | 用户名 |
| totalCount | int |
响应示例
application/json, text/json
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| shopId | int | 门店id |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 编码 |
| id | int | |
| inUse | boolean | 是否启用 |
| isDefault | boolean | 是否是默认 |
| password | string | 密码 |
| phone | string | 电话 |
| realName | string | 姓名 |
| roleId | int | 角色Id |
| roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| tenantId | int | |
| tenantName | string | 租户名 |
| tenantType | string | 0:; 1:; 2: |
| userName | string | 用户名 |
响应示例
application/json, text/json
[
{
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
},
{
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
}
]
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| loginName | string | 登录名 |
| password | string | 密码 |
| tenant | string | 租户 |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | {...} | |
| ┆- code | string | 编码 |
| ┆- id | int | |
| ┆- inUse | boolean | 是否启用 |
| ┆- isDefault | boolean | 是否是默认 |
| ┆- password | string | 密码 |
| ┆- phone | string | 电话 |
| ┆- realName | string | 姓名 |
| ┆- roleId | int | 角色Id |
| ┆- roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| ┆- tenantId | int | |
| ┆- tenantName | string | 租户名 |
| ┆- tenantType | string | 0:; 1:; 2: |
| ┆- userName | string | 用户名 |
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"data": {
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
},
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 编码 |
| id | int | |
| inUse | boolean | 是否启用 |
| isDefault | boolean | 是否是默认 |
| password | string | 密码 |
| phone | string | 电话 |
| realName | string | 姓名 |
| roleId | int | 角色Id |
| roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| tenantId | int | |
| tenantName | string | 租户名 |
| tenantType | string | 0:; 1:; 2: |
| userName | string | 用户名 |
请求示例
application/json, text/json
{
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| code | string | 编码 |
| id | int | |
| inUse | boolean | 是否启用 |
| isDefault | boolean | 是否是默认 |
| password | string | 密码 |
| phone | string | 电话 |
| realName | string | 姓名 |
| roleId | int | 角色Id |
| roleName | string | 角色名 |
| shops | [...] | 门店Id列表 |
| ┆- address | string | 地址 |
| ┆- appKey | string | AppKey |
| ┆- appSecret | string | AppSecret |
| ┆- city | string | 市 |
| ┆- code | string | 编码 |
| ┆- distance | decimal number | 距离 |
| ┆- district | string | 区 |
| ┆- id | int | |
| ┆- imagePath | string | 照片 |
| ┆- intro | string | 简介 |
| ┆- lBSPoint | string | 坐标 |
| ┆- memberInUse | boolean | 线上会员是否启用 |
| ┆- name | string | 名称 |
| ┆- phone | string | 电话 |
| ┆- province | string | 省 |
| ┆- shopArea | decimal number | 面积 |
| ┆- shopTag | string | 门店标签 |
| ┆- tenantId | int | |
| tagIds | [...] | 标签Id集合 |
| tenantId | int | |
| tenantName | string | 租户名 |
| tenantType | string | 0:; 1:; 2: |
| userName | string | 用户名 |
请求示例
application/json, text/json
{
"tenantName": "",
"tenantType": 0,
"userName": "",
"password": "",
"code": "",
"inUse": true,
"realName": "",
"phone": "",
"isDefault": true,
"roleId": 9,
"roleName": "",
"tagIds": [
1,
2
],
"shops": [
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
},
{
"name": "",
"code": "",
"appKey": "",
"appSecret": "",
"province": "",
"city": "",
"district": "",
"address": "",
"lbsPoint": "",
"distance": 10.1,
"shopArea": 11.1,
"phone": "",
"intro": "",
"imagePath": "",
"memberInUse": true,
"shopTag": "",
"tenantId": 17,
"id": 18
}
],
"tenantId": 11,
"id": 12
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
请求示例
application/json, text/json
{
"id": 1
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| password | string | 新密码 |
| tenantId | int |
请求示例
application/json, text/json
{
"password": "",
"tenantId": 2,
"id": 3
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}