Showing
1 changed file
with
180 additions
and
0 deletions
inferface-document/cms/help_content.md
0 → 100644
1 | +# 帮助内容接口服务定义 | ||
2 | +--------------------- | ||
3 | + | ||
4 | +## 添加帮助内容 | ||
5 | + | ||
6 | +> 接口名:`/HelpContentRest/addHelpContent` | ||
7 | + | ||
8 | +### 入参 | ||
9 | +``` json | ||
10 | +{ | ||
11 | + "title":"补开发票", | ||
12 | + "categoryId":13, | ||
13 | + "content":"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
14 | + "platform":"iphone,android" | ||
15 | +} | ||
16 | +``` | ||
17 | +------------------------- | ||
18 | +|属性名称|类型|例子|说明| | ||
19 | +|--------|----|----|----| | ||
20 | +|title|String|补开发票|帮助标题| | ||
21 | +|categoryId|int|13|分类ID| | ||
22 | +|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容| | ||
23 | +|platform|String|iphone,android|显示平台| | ||
24 | +--------------------- | ||
25 | + | ||
26 | +### 返回 | ||
27 | + | ||
28 | +``` json | ||
29 | +{ | ||
30 | + "code": 200, | ||
31 | + "message": "Add Help Content Success" | ||
32 | +} | ||
33 | +{ | ||
34 | + "code":400 | ||
35 | + "message":"帮助标题不能为空" | ||
36 | +} | ||
37 | +{ | ||
38 | + "code":400 | ||
39 | + "message":"分类ID无效" | ||
40 | +} | ||
41 | +{ | ||
42 | + "code":400 | ||
43 | + "message":"内容无效" | ||
44 | +} | ||
45 | +{ | ||
46 | + "code":400 | ||
47 | + "message":"显示平台无效" | ||
48 | +} | ||
49 | +{ | ||
50 | + "code":500 | ||
51 | + "message":"Add Help Content Fail" | ||
52 | +} | ||
53 | +``` | ||
54 | + | ||
55 | + | ||
56 | +## 获取查看审核详情 | ||
57 | +> 接口名: `/ShopsCheckRest/getCheckShopInfo` | ||
58 | + | ||
59 | +### 入参 | ||
60 | +```json | ||
61 | +{ | ||
62 | + "shopsId":20 | ||
63 | +} | ||
64 | +``` | ||
65 | +------------------------- | ||
66 | +|属性名称|类型|例子|说明| | ||
67 | +|--------|----|----|----| | ||
68 | +|shopsId|int|15|店铺ID| | ||
69 | +--------------------------- | ||
70 | + | ||
71 | +### 返回 | ||
72 | + | ||
73 | +```json | ||
74 | +{ | ||
75 | + "code":400 | ||
76 | + "message":"店铺id有误" | ||
77 | +} | ||
78 | +{ | ||
79 | + "code":500 | ||
80 | + "message":"暂无数据" | ||
81 | +} | ||
82 | +{ | ||
83 | + "code": 200, | ||
84 | + "data": { | ||
85 | + "createPid": 1, | ||
86 | + "createTime": 1454205517, | ||
87 | + "examineStatus": 0, | ||
88 | + "isRead": 1, | ||
89 | + "operationStatus": 1, | ||
90 | + "otherUrl": "", | ||
91 | + "shopAddress": "", | ||
92 | + "shopDomain": "debao", | ||
93 | + "shopIntro": "", | ||
94 | + "shopLogo": "", | ||
95 | + "shopName": "得宝旗舰店", | ||
96 | + "shopNature": 0, | ||
97 | + "shopRelation": "[{\"agreementEndTime\":1485792000,\"brandId\":355,\"method\":\"add\",\"supplierId\":310},{\"agreementEndTime\":1459353600,\"brandId\":178,\"method\":\"del\",\"supplierId\":480}]", | ||
98 | + "shopsId": 15, | ||
99 | + "shopsType": 1, | ||
100 | + "status": 0, | ||
101 | + "updateTime": 1454205517, | ||
102 | + "websiteUrl": "" | ||
103 | + }, | ||
104 | + "message": "ok" | ||
105 | +} | ||
106 | + | ||
107 | +``` | ||
108 | + | ||
109 | +## 审核通过 | ||
110 | +> 接口名: `/ShopsCheckRest/allowShop` | ||
111 | + | ||
112 | +### 入参 | ||
113 | +```json | ||
114 | +{ | ||
115 | + "shopsId":15 | ||
116 | +} | ||
117 | +``` | ||
118 | +------------------------- | ||
119 | +|属性名称|类型|例子|说明| | ||
120 | +|--------|----|----|----| | ||
121 | +|shopsId|int|15|店铺ID| | ||
122 | +--------------------------- | ||
123 | + | ||
124 | +### 返回 | ||
125 | + | ||
126 | +```json | ||
127 | +{ | ||
128 | + "code":400 | ||
129 | + "message":"店铺信息有误" | ||
130 | +} | ||
131 | +{ | ||
132 | + "code":500 | ||
133 | + "message":"没有待审核的信息" | ||
134 | +} | ||
135 | +{ | ||
136 | + "code":500 | ||
137 | + "message":"更新店铺信息失败" | ||
138 | +} | ||
139 | +{ | ||
140 | + "code":200 | ||
141 | + "message":"更新成功" | ||
142 | +} | ||
143 | +``` | ||
144 | + | ||
145 | +## 审核驳回 | ||
146 | + | ||
147 | +> 接口名:`/ShopsCheckRest/rejectShop` | ||
148 | + | ||
149 | +### 入参 | ||
150 | +```json{ | ||
151 | + "shopsId":15 | ||
152 | +} | ||
153 | +``` | ||
154 | +------------------------- | ||
155 | +|属性名称|类型|例子|说明| | ||
156 | +|--------|----|----|----| | ||
157 | +|shopsId|int|15|店铺ID| | ||
158 | +------------------- | ||
159 | + | ||
160 | +### 返回 | ||
161 | + | ||
162 | +```json | ||
163 | +{ | ||
164 | + "code":400, | ||
165 | + "message":"店铺信息有误" | ||
166 | +} | ||
167 | +{ | ||
168 | + "code":500, | ||
169 | + "message":"没有待审核的信息" | ||
170 | +} | ||
171 | +{ | ||
172 | + "code":500, | ||
173 | + "message":"操作失败" | ||
174 | +} | ||
175 | +{ | ||
176 | + "code":200, | ||
177 | + "message":"操作成功", | ||
178 | +} | ||
179 | +``` | ||
180 | + |
-
Please register or login to post a comment