Showing
1 changed file
with
39 additions
and
2 deletions
@@ -10,10 +10,11 @@ | @@ -10,10 +10,11 @@ | ||
10 | |product_skc|String|否|14||skc| | 10 | |product_skc|String|否|14||skc| |
11 | |color_name|String|否|黑||颜色| | 11 | |color_name|String|否|黑||颜色| |
12 | |size_name|String|否|L||尺码| | 12 | |size_name|String|否|L||尺码| |
13 | +|activity_id|String|否|111||活动id| | ||
13 | 14 | ||
14 | 注意,通用的头部没有列出。 | 15 | 注意,通用的头部没有列出。 |
15 | 请求示例 | 16 | 请求示例 |
16 | -http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&uid=3566164&product_skn=50001796&product_sku=102034&product_skc=14&size_name=L&color_name=黑 | 17 | +http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&activity_id=111&uid=3566164&product_skn=50001796&product_sku=102034&product_skc=14&size_name=L&color_name=黑 |
17 | ### 响应 | 18 | ### 响应 |
18 | code为200即为成功,否则是失败。 | 19 | code为200即为成功,否则是失败。 |
19 | 响应参数,data部分 | 20 | 响应参数,data部分 |
@@ -31,7 +32,43 @@ code为200即为成功,否则是失败。 | @@ -31,7 +32,43 @@ code为200即为成功,否则是失败。 | ||
31 | ```json | 32 | ```json |
32 | { | 33 | { |
33 | "code": 500, | 34 | "code": 500, |
34 | - "message": "失败", | 35 | + "message": "活动id为空", |
36 | + "md5": "6d729d4b35f10fc73531210bd7ecff91", | ||
37 | + "alg": "SALT_MD5", | ||
38 | + "data": [] | ||
39 | +} | ||
40 | +``` | ||
41 | +```json | ||
42 | +{ | ||
43 | + "code": 500, | ||
44 | + "message": "活动尚未开始!", | ||
45 | + "md5": "6d729d4b35f10fc73531210bd7ecff91", | ||
46 | + "alg": "SALT_MD5", | ||
47 | + "data": [] | ||
48 | +} | ||
49 | +``` | ||
50 | +```json | ||
51 | +{ | ||
52 | + "code": 500, | ||
53 | + "message": "活动已结束", | ||
54 | + "md5": "6d729d4b35f10fc73531210bd7ecff91", | ||
55 | + "alg": "SALT_MD5", | ||
56 | + "data": [] | ||
57 | +} | ||
58 | +``` | ||
59 | +```json | ||
60 | +{ | ||
61 | + "code": 500, | ||
62 | + "message": "uid或productSkn不能为空", | ||
63 | + "md5": "6d729d4b35f10fc73531210bd7ecff91", | ||
64 | + "alg": "SALT_MD5", | ||
65 | + "data": [] | ||
66 | +} | ||
67 | +``` | ||
68 | +```json | ||
69 | +{ | ||
70 | + "code": 500, | ||
71 | + "message": "选择颜色尺码信息失败", | ||
35 | "md5": "6d729d4b35f10fc73531210bd7ecff91", | 72 | "md5": "6d729d4b35f10fc73531210bd7ecff91", |
36 | "alg": "SALT_MD5", | 73 | "alg": "SALT_MD5", |
37 | "data": [] | 74 | "data": [] |
-
Please register or login to post a comment