Showing
1 changed file
with
80 additions
and
0 deletions
商家端/上下架申请.md
0 → 100644
1 | +## 1、上架申请## | ||
2 | + | ||
3 | +更新商品销售价(/SellerSknStatusController/productOnSale) | ||
4 | + | ||
5 | +#### 请求参数 | ||
6 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | ||
7 | +|:-------| -----:|-----:|-----:|----:| | ||
8 | +|productSkns|string|否|"[512587916,512587914]"|skn列表json字符串| | ||
9 | +|targetStatus|int|否|1|默认上架填1| | ||
10 | +|userId|int|否|2234|登陆账号的ID| | ||
11 | + | ||
12 | + | ||
13 | +注意,通用的头部没有列出。 | ||
14 | +请求示例 | ||
15 | +http://127.0.0.1:8088/platform/SellerSknStatusController/productOnSale | ||
16 | + | ||
17 | +## 请求样例数据 | ||
18 | +``` json | ||
19 | +请求样例: | ||
20 | +{"productSkns":"[512587916,512587914]", "userId":222, "targetStatus":1} | ||
21 | +正常返回: | ||
22 | +{ | ||
23 | + "code": 200, | ||
24 | + "data": [], | ||
25 | + "md5": "d751713988987e9331980363e24189ce", | ||
26 | + "message": "申请上架成功" | ||
27 | +} | ||
28 | +异常返回: | ||
29 | +{ | ||
30 | + "code": 10001, | ||
31 | + "data": [], | ||
32 | + "md5": "d751713988987e9331980363e24189ce", | ||
33 | + "message": "参数校验错误" | ||
34 | +} | ||
35 | +{ | ||
36 | + "code": 10003, | ||
37 | + "data": [], | ||
38 | + "md5": "d751713988987e9331980363e24189ce", | ||
39 | + "message": "512587918商品无库存" | ||
40 | +} | ||
41 | +``` | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | +## 1、下架申请## | ||
46 | + | ||
47 | +更新商品销售价(/SellerSknStatusController/productOutSale) | ||
48 | + | ||
49 | +#### 请求参数 | ||
50 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | ||
51 | +|:-------| -----:|-----:|-----:|----:| | ||
52 | +|productSkns|string|否|"[512587916,512587914]"|skn列表json字符串| | ||
53 | +|targetStatus|int|否|0|默认下架填0| | ||
54 | +|userId|int|否|2234|登陆账号的ID| | ||
55 | + | ||
56 | + | ||
57 | +注意,通用的头部没有列出。 | ||
58 | +请求示例 | ||
59 | +http://127.0.0.1:8088/platform/SellerSknStatusController/productOutSale | ||
60 | + | ||
61 | +## 请求样例数据 | ||
62 | +``` json | ||
63 | +请求样例: | ||
64 | +{"productSkns":"[512587916,512587914]", "userId":222, "targetStatus":0} | ||
65 | +正常返回: | ||
66 | +{ | ||
67 | + "code": 200, | ||
68 | + "data": [], | ||
69 | + "md5": "d751713988987e9331980363e24189ce", | ||
70 | + "message": "申请下架成功" | ||
71 | +} | ||
72 | +异常返回: | ||
73 | +{ | ||
74 | + "code": 10001, | ||
75 | + "data": [], | ||
76 | + "md5": "d751713988987e9331980363e24189ce", | ||
77 | + "message": "参数校验错误" | ||
78 | +} | ||
79 | + | ||
80 | +``` |
-
Please register or login to post a comment