...
|
...
|
@@ -203,15 +203,18 @@ |
|
|
```
|
|
|
|
|
|
## 删除店铺管理员关系
|
|
|
> 接口名: `/shops/delAdminRelation`
|
|
|
> 接口名: `/shops/ShopsAdminRest/delAdminRelation`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"id":24
|
|
|
}
|
|
|
```
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|20|店铺管理员记录ID|
|
|
|
|shopsId|int|15|店铺ID|
|
|
|
---------------------------
|
|
|
|
|
|
### 返回
|
...
|
...
|
@@ -232,12 +235,15 @@ |
|
|
> 接口名:`/shops/getAdminRelationDetailById`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"id":20
|
|
|
}
|
|
|
```
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|20|店铺管理员记录ID|
|
|
|
|shopsId|int|15|店铺ID|
|
|
|
-------------------
|
|
|
|
|
|
### 返回
|
...
|
...
|
@@ -249,18 +255,19 @@ |
|
|
}
|
|
|
{
|
|
|
"code":500,
|
|
|
"message":"shops_id is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500,
|
|
|
"message":"暂无数据"
|
|
|
}
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"list",
|
|
|
"data":{
|
|
|
|
|
|
}
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"adminPid": 2951,
|
|
|
"createTime": 1441937052,
|
|
|
"id": 20,
|
|
|
"identity": 7,
|
|
|
"shopsId": 15,
|
|
|
"updateTime": 0
|
|
|
},
|
|
|
"message": "list"
|
|
|
}
|
|
|
```
|
|
|
|
...
|
...
|
@@ -270,12 +277,21 @@ |
|
|
> 接口名: `/shops/updateAdminRalation`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"id":20,
|
|
|
"shopsId":15,
|
|
|
"adminPid":2951,
|
|
|
"identity":2
|
|
|
}
|
|
|
```
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|shopDomain|String|debao|店铺域名|
|
|
|
|id|int|20|店铺管理员记录ID|
|
|
|
|shopsId|int|15|店铺ID|
|
|
|
|adminPid|int|2951|管理员ID|
|
|
|
|identity|int|1|身份(1、店长 2、供应商 3、店员) 可选 默认为1|
|
|
|
-----------------------------
|
|
|
|
|
|
### 返回
|
...
|
...
|
@@ -287,11 +303,11 @@ |
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"shops_id is null"
|
|
|
"message":"shopsId is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"admin_pid is null"
|
|
|
"message":"adminPid is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
...
|
...
|
|