Showing
1 changed file
with
42 additions
and
0 deletions
账号注销/强制注销-erp.md
0 → 100644
1 | +erp-gateway | ||
2 | + | ||
3 | +## 客服强制注销 | ||
4 | +/erp/user/cancel | ||
5 | + | ||
6 | +**请求参数** | ||
7 | + | ||
8 | +| 参数名称 | 参数类型 |可否为空 |示例 | 备注 | | ||
9 | +| ---------|:--------:| --------:|-----:|-----:|------:| | ||
10 | +|uid|int | 否 |500027362 |注销用户uid | | ||
11 | +|cancelId|int | 否 | 1002 |注销申请id,mq传到erp的 | | ||
12 | +|optId|int | 否 | 1 |操作人id | | ||
13 | +|remarks|String | 否 | |客服备注 | | ||
14 | + | ||
15 | + | ||
16 | +**请求示例:** | ||
17 | +http://localhost:8080/erp/user/cancel?uid=500030950&cancelId=5&optId=1225&remarks=客服备注 | ||
18 | + | ||
19 | +正常返回: | ||
20 | + | ||
21 | +```json | ||
22 | + | ||
23 | +{ | ||
24 | + "alg": "SALT_MD5", | ||
25 | + "code": 200, | ||
26 | + "data": { | ||
27 | + "code": 200, | ||
28 | + "desc": "注销成功" | ||
29 | + }, | ||
30 | + "md5": "450f6457728a590c5d6210a80c314a92", | ||
31 | + "message": "操作成功" | ||
32 | +} | ||
33 | +``` | ||
34 | + | ||
35 | +确实参数时: | ||
36 | +```json | ||
37 | + | ||
38 | +{ | ||
39 | + "message": "参数不正确", | ||
40 | + "code": 433 | ||
41 | +} | ||
42 | +``` |
-
Please register or login to post a comment