Showing
1 changed file
with
54 additions
and
79 deletions
@@ -53,128 +53,103 @@ | @@ -53,128 +53,103 @@ | ||
53 | ``` | 53 | ``` |
54 | 54 | ||
55 | 55 | ||
56 | -## 获取查看审核详情 | ||
57 | -> 接口名: `/ShopsCheckRest/getCheckShopInfo` | 56 | +## 修改帮助内容 |
57 | + | ||
58 | +> 接口名:`/HelpContentRest/updateHelpContent` | ||
58 | 59 | ||
59 | ### 入参 | 60 | ### 入参 |
60 | -```json | 61 | +``` json |
61 | { | 62 | { |
62 | - "shopsId":20 | 63 | + "id":44, |
64 | + "title":"补开发票", | ||
65 | + "categoryId":13, | ||
66 | + "platform":"iphone,android,h5", | ||
67 | + "content":"如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。" | ||
63 | } | 68 | } |
64 | ``` | 69 | ``` |
65 | ------------------------- | 70 | ------------------------- |
66 | |属性名称|类型|例子|说明| | 71 | |属性名称|类型|例子|说明| |
67 | |--------|----|----|----| | 72 | |--------|----|----|----| |
68 | -|shopsId|int|15|店铺ID| | ||
69 | ---------------------------- | 73 | +|id|int|44|帮助内容记录ID| |
74 | +|title|String|补开发票|帮助标题| | ||
75 | +|categoryId|int|13|分类ID| | ||
76 | +|content|String|如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。|帮助内容| | ||
77 | +|platform|String|iphone,android|显示平台| | ||
78 | +--------------------- | ||
70 | 79 | ||
71 | ### 返回 | 80 | ### 返回 |
72 | 81 | ||
73 | -```json | 82 | +``` json |
74 | { | 83 | { |
75 | - "code":400 | ||
76 | - "message":"店铺id有误" | 84 | + "code": 200, |
85 | + "message": "Update Help Content Success" | ||
77 | } | 86 | } |
78 | { | 87 | { |
79 | - "code":500 | ||
80 | - "message":"暂无数据" | 88 | + "code":400 |
89 | + "message":"Id is null" | ||
81 | } | 90 | } |
82 | { | 91 | { |
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" | 92 | + "code":400 |
93 | + "message":"帮助标题不能为空" | ||
105 | } | 94 | } |
106 | - | ||
107 | -``` | ||
108 | - | ||
109 | -## 审核通过 | ||
110 | -> 接口名: `/ShopsCheckRest/allowShop` | ||
111 | - | ||
112 | -### 入参 | ||
113 | -```json | ||
114 | { | 95 | { |
115 | - "shopsId":15 | 96 | + "code":400 |
97 | + "message":"分类ID无效" | ||
116 | } | 98 | } |
117 | -``` | ||
118 | -------------------------- | ||
119 | -|属性名称|类型|例子|说明| | ||
120 | -|--------|----|----|----| | ||
121 | -|shopsId|int|15|店铺ID| | ||
122 | ---------------------------- | ||
123 | - | ||
124 | -### 返回 | ||
125 | - | ||
126 | -```json | ||
127 | { | 99 | { |
128 | "code":400 | 100 | "code":400 |
129 | - "message":"店铺信息有误" | 101 | + "message":"内容无效" |
130 | } | 102 | } |
131 | { | 103 | { |
132 | - "code":500 | ||
133 | - "message":"没有待审核的信息" | 104 | + "code":400 |
105 | + "message":"显示平台无效" | ||
134 | } | 106 | } |
135 | { | 107 | { |
136 | "code":500 | 108 | "code":500 |
137 | - "message":"更新店铺信息失败" | ||
138 | -} | ||
139 | -{ | ||
140 | - "code":200 | ||
141 | - "message":"更新成功" | 109 | + "message":"Upodate Help Content Fail" |
142 | } | 110 | } |
143 | ``` | 111 | ``` |
144 | 112 | ||
145 | -## 审核驳回 | 113 | +## 根据ID获得帮助内容 |
146 | 114 | ||
147 | -> 接口名:`/ShopsCheckRest/rejectShop` | 115 | +> 接口名:`/HelpContentRest/getHelpContentById` |
148 | 116 | ||
149 | ### 入参 | 117 | ### 入参 |
150 | -```json{ | ||
151 | - "shopsId":15 | 118 | +``` json |
119 | +{ | ||
120 | + "id":44 | ||
152 | } | 121 | } |
153 | ``` | 122 | ``` |
154 | ------------------------- | 123 | ------------------------- |
155 | |属性名称|类型|例子|说明| | 124 | |属性名称|类型|例子|说明| |
156 | |--------|----|----|----| | 125 | |--------|----|----|----| |
157 | -|shopsId|int|15|店铺ID| | ||
158 | -------------------- | 126 | +|id|int|44|帮助内容记录ID| |
127 | +--------------------- | ||
159 | 128 | ||
160 | ### 返回 | 129 | ### 返回 |
161 | 130 | ||
162 | -```json | ||
163 | -{ | ||
164 | - "code":400, | ||
165 | - "message":"店铺信息有误" | ||
166 | -} | ||
167 | -{ | ||
168 | - "code":500, | ||
169 | - "message":"没有待审核的信息" | ||
170 | -} | 131 | +``` json |
171 | { | 132 | { |
172 | - "code":500, | ||
173 | - "message":"操作失败" | 133 | + "code": 200, |
134 | + "data": { | ||
135 | + "categoryId": 13, | ||
136 | + "content": "如订单未选择发票需要补寄,请您联系有货客服,我们可以为您补开三个自然月内订单的发票,但是需运费到付。", | ||
137 | + "createTime": 1455438073, | ||
138 | + "id": 44, | ||
139 | + "platform": [ | ||
140 | + "iphone", | ||
141 | + "android", | ||
142 | + "h5" | ||
143 | + ], | ||
144 | + "title": "补开发票", | ||
145 | + "updateTime": 1455438842 | ||
146 | + }, | ||
147 | + "message": "Help Content" | ||
174 | } | 148 | } |
175 | { | 149 | { |
176 | - "code":200, | ||
177 | - "message":"操作成功", | 150 | + "code":400 |
151 | + "message":"Id is null" | ||
178 | } | 152 | } |
179 | ``` | 153 | ``` |
180 | 154 | ||
155 | + |
-
Please register or login to post a comment