|
|
erp-gateway
|
|
|
|
|
|
## 客服强制注销
|
|
|
/erp/user/cancel
|
|
|
|
|
|
**请求参数**
|
|
|
|
|
|
| 参数名称 | 参数类型 |可否为空 |示例 | 备注 |
|
|
|
| ---------|:--------:| --------:|-----:|-----:|------:|
|
|
|
|uid|int | 否 |500027362 |注销用户uid |
|
|
|
|cancelId|int | 否 | 1002 |注销申请id,mq传到erp的 |
|
|
|
|optId|int | 否 | 1 |操作人id |
|
|
|
|remarks|String | 否 | |客服备注 |
|
|
|
|
|
|
|
|
|
**请求示例:**
|
|
|
http://localhost:8080/erp/user/cancel?uid=500030950&cancelId=5&optId=1225&remarks=客服备注
|
|
|
|
|
|
正常返回:
|
|
|
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"code": 200,
|
|
|
"desc": "注销成功"
|
|
|
},
|
|
|
"md5": "450f6457728a590c5d6210a80c314a92",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
确实参数时:
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"message": "参数不正确",
|
|
|
"code": 433
|
|
|
}
|
|
|
``` |
...
|
...
|
|