Commit c3a2c790fd8767641263e4ca604a656d1bbb5aef
1 parent
f503e382
Exists in
v1.2
and in
2 other branches
.
Showing
1 changed file
with
40 additions
and
100 deletions
Show diff stats
README.md
@@ -32,12 +32,9 @@ | @@ -32,12 +32,9 @@ | ||
32 | 32 | ||
33 | 33 | ||
34 | <a name="增加访问日志"></a> | 34 | <a name="增加访问日志"></a> |
35 | -[增加访问日志](#增加访问日志) | ||
36 | -#### /AccessLog (POST) | ||
37 | - | ||
38 | - | ||
39 | -增加访问日志 | ||
40 | 35 | ||
36 | +#### /AccessLog (POST) | ||
37 | +<a name='增加访问日志'></a> | ||
41 | | Param Name | Example | Data Type | Description | Required? | | 38 | | Param Name | Example | Data Type | Description | Required? | |
42 | |-----|-----|-----|-----|-----| | 39 | |-----|-----|-----|-----|-----| |
43 | | UserId | 5dfb03070a9ac17ac7a82054 | string | 用户ID | Yes | | 40 | | UserId | 5dfb03070a9ac17ac7a82054 | string | 用户ID | Yes | |
@@ -57,12 +54,9 @@ | @@ -57,12 +54,9 @@ | ||
57 | 54 | ||
58 | 55 | ||
59 | <a name="查询所有商品"></a> | 56 | <a name="查询所有商品"></a> |
60 | -[查询所有商品](#查询所有商品) | ||
61 | -#### /AllCommodity (GET) | ||
62 | - | ||
63 | - | ||
64 | -查询所有商品 | ||
65 | 57 | ||
58 | +#### /AllCommodity (GET) | ||
59 | +<a name='查询所有商品'></a> | ||
66 | | Code | Type | Model | Message | | 60 | | Code | Type | Model | Message | |
67 | |-----|-----|-----|-----| | 61 | |-----|-----|-----|-----| |
68 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Price=价格;ShopName=店铺名称;KvPhoto用于列表页的图片;TopPhoto详情页最上面的轮播图;Images详情页下面的产品详细图 | | 62 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Price=价格;ShopName=店铺名称;KvPhoto用于列表页的图片;TopPhoto详情页最上面的轮播图;Images详情页下面的产品详细图 | |
@@ -71,12 +65,9 @@ | @@ -71,12 +65,9 @@ | ||
71 | 65 | ||
72 | 66 | ||
73 | <a name="查询所有游玩项目"></a> | 67 | <a name="查询所有游玩项目"></a> |
74 | -[查询所有游玩项目](#查询所有游玩项目) | ||
75 | -#### /AllItems (GET) | ||
76 | - | ||
77 | - | ||
78 | -查询所有游玩项目 | ||
79 | 68 | ||
69 | +#### /AllItems (GET) | ||
70 | +<a name='查询所有游玩项目'></a> | ||
80 | | Code | Type | Model | Message | | 71 | | Code | Type | Model | Message | |
81 | |-----|-----|-----|-----| | 72 | |-----|-----|-----|-----| |
82 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | | 73 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | |
@@ -85,12 +76,9 @@ | @@ -85,12 +76,9 @@ | ||
85 | 76 | ||
86 | 77 | ||
87 | <a name="查询所有线路"></a> | 78 | <a name="查询所有线路"></a> |
88 | -[查询所有线路](#查询所有线路) | ||
89 | -#### /AllLine (GET) | ||
90 | - | ||
91 | - | ||
92 | -查询所有线路 | ||
93 | 79 | ||
80 | +#### /AllLine (GET) | ||
81 | +<a name='查询所有线路'></a> | ||
94 | | Code | Type | Model | Message | | 82 | | Code | Type | Model | Message | |
95 | |-----|-----|-----|-----| | 83 | |-----|-----|-----|-----| |
96 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;SubName副标题;PlayDuration游玩时长;Suitable适合人群;Location线路点坐标;Annotations需要点亮的设施id;Distance距离 | | 84 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;SubName副标题;PlayDuration游玩时长;Suitable适合人群;Location线路点坐标;Annotations需要点亮的设施id;Distance距离 | |
@@ -99,12 +87,9 @@ | @@ -99,12 +87,9 @@ | ||
99 | 87 | ||
100 | 88 | ||
101 | <a name="所有景区基础信息"></a> | 89 | <a name="所有景区基础信息"></a> |
102 | -[所有景区基础信息](#所有景区基础信息) | ||
103 | -#### /AllScenic (GET) | ||
104 | - | ||
105 | - | ||
106 | -所有景区基础信息 | ||
107 | 90 | ||
91 | +#### /AllScenic (GET) | ||
92 | +<a name='所有景区基础信息'></a> | ||
108 | | Code | Type | Model | Message | | 93 | | Code | Type | Model | Message | |
109 | |-----|-----|-----|-----| | 94 | |-----|-----|-----|-----| |
110 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | | 95 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | |
@@ -113,12 +98,9 @@ | @@ -113,12 +98,9 @@ | ||
113 | 98 | ||
114 | 99 | ||
115 | <a name="查询商品信息"></a> | 100 | <a name="查询商品信息"></a> |
116 | -[查询商品信息](#查询商品信息) | ||
117 | -#### /CommodityInfo (GET) | ||
118 | - | ||
119 | - | ||
120 | -查询商品信息 | ||
121 | 101 | ||
102 | +#### /CommodityInfo (GET) | ||
103 | +<a name='查询商品信息'></a> | ||
122 | | Param Name | Example | Data Type | Description | Required? | | 104 | | Param Name | Example | Data Type | Description | Required? | |
123 | |-----|-----|-----|-----|-----| | 105 | |-----|-----|-----|-----|-----| |
124 | | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | | 106 | | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | |
@@ -132,12 +114,9 @@ | @@ -132,12 +114,9 @@ | ||
132 | 114 | ||
133 | 115 | ||
134 | <a name="增加投诉"></a> | 116 | <a name="增加投诉"></a> |
135 | -[增加投诉](#增加投诉) | ||
136 | -#### /CreateComplaint (POST) | ||
137 | - | ||
138 | - | ||
139 | -增加投诉 | ||
140 | 117 | ||
118 | +#### /CreateComplaint (POST) | ||
119 | +<a name='增加投诉'></a> | ||
141 | | Param Name | Example | Data Type | Description | Required? | | 120 | | Param Name | Example | Data Type | Description | Required? | |
142 | |-----|-----|-----|-----|-----| | 121 | |-----|-----|-----|-----|-----| |
143 | | mobile | 18616619599 | string | 联系电话 | Yes | | 122 | | mobile | 18616619599 | string | 联系电话 | Yes | |
@@ -154,12 +133,9 @@ | @@ -154,12 +133,9 @@ | ||
154 | 133 | ||
155 | 134 | ||
156 | <a name="用户注册"></a> | 135 | <a name="用户注册"></a> |
157 | -[用户注册](#用户注册) | ||
158 | -#### /CreateUser (POST) | ||
159 | - | ||
160 | - | ||
161 | -用户注册 | ||
162 | 136 | ||
137 | +#### /CreateUser (POST) | ||
138 | +<a name='用户注册'></a> | ||
163 | | Param Name | Example | Data Type | Description | Required? | | 139 | | Param Name | Example | Data Type | Description | Required? | |
164 | |-----|-----|-----|-----|-----| | 140 | |-----|-----|-----|-----|-----| |
165 | | password | 1 | string | 密码 | Yes | | 141 | | password | 1 | string | 密码 | Yes | |
@@ -178,12 +154,9 @@ | @@ -178,12 +154,9 @@ | ||
178 | 154 | ||
179 | 155 | ||
180 | <a name="查询设备信息"></a> | 156 | <a name="查询设备信息"></a> |
181 | -[查询设备信息](#查询设备信息) | ||
182 | -#### /ItemInfo (GET) | ||
183 | - | ||
184 | - | ||
185 | -查询设备信息 | ||
186 | 157 | ||
158 | +#### /ItemInfo (GET) | ||
159 | +<a name='查询设备信息'></a> | ||
187 | | Param Name | Example | Data Type | Description | Required? | | 160 | | Param Name | Example | Data Type | Description | Required? | |
188 | |-----|-----|-----|-----|-----| | 161 | |-----|-----|-----|-----|-----| |
189 | | id | 5dfb03070a9ac17ac7a82054 | string | 设备id | Yes | | 162 | | id | 5dfb03070a9ac17ac7a82054 | string | 设备id | Yes | |
@@ -197,12 +170,9 @@ | @@ -197,12 +170,9 @@ | ||
197 | 170 | ||
198 | 171 | ||
199 | <a name="查询线路信息"></a> | 172 | <a name="查询线路信息"></a> |
200 | -[查询线路信息](#查询线路信息) | ||
201 | -#### /LineInfo (GET) | ||
202 | - | ||
203 | - | ||
204 | -查询线路信息 | ||
205 | 173 | ||
174 | +#### /LineInfo (GET) | ||
175 | +<a name='查询线路信息'></a> | ||
206 | | Param Name | Example | Data Type | Description | Required? | | 176 | | Param Name | Example | Data Type | Description | Required? | |
207 | |-----|-----|-----|-----|-----| | 177 | |-----|-----|-----|-----|-----| |
208 | | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | | 178 | | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | |
@@ -216,12 +186,9 @@ | @@ -216,12 +186,9 @@ | ||
216 | 186 | ||
217 | 187 | ||
218 | <a name="用户登录"></a> | 188 | <a name="用户登录"></a> |
219 | -[用户登录](#用户登录) | ||
220 | -#### /LoginUser (POST) | ||
221 | - | ||
222 | - | ||
223 | -用户登录 | ||
224 | 189 | ||
190 | +#### /LoginUser (POST) | ||
191 | +<a name='用户登录'></a> | ||
225 | | Param Name | Example | Data Type | Description | Required? | | 192 | | Param Name | Example | Data Type | Description | Required? | |
226 | |-----|-----|-----|-----|-----| | 193 | |-----|-----|-----|-----|-----| |
227 | | mobile | aaron | string | 用户名 | Yes | | 194 | | mobile | aaron | string | 用户名 | Yes | |
@@ -236,12 +203,9 @@ | @@ -236,12 +203,9 @@ | ||
236 | 203 | ||
237 | 204 | ||
238 | <a name="返回景区基础信息"></a> | 205 | <a name="返回景区基础信息"></a> |
239 | -[返回景区基础信息](#返回景区基础信息) | ||
240 | -#### /ScenicInfo (GET) | ||
241 | - | ||
242 | - | ||
243 | -返回景区基础信息 | ||
244 | 206 | ||
207 | +#### /ScenicInfo (GET) | ||
208 | +<a name='返回景区基础信息'></a> | ||
245 | | Param Name | Example | Data Type | Description | Required? | | 209 | | Param Name | Example | Data Type | Description | Required? | |
246 | |-----|-----|-----|-----|-----| | 210 | |-----|-----|-----|-----|-----| |
247 | | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | | 211 | | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | |
@@ -255,12 +219,9 @@ | @@ -255,12 +219,9 @@ | ||
255 | 219 | ||
256 | 220 | ||
257 | <a name="标签列表"></a> | 221 | <a name="标签列表"></a> |
258 | -[标签列表](#标签列表) | ||
259 | -#### /Tags (GET) | ||
260 | - | ||
261 | - | ||
262 | -标签列表 | ||
263 | 222 | ||
223 | +#### /Tags (GET) | ||
224 | +<a name='标签列表'></a> | ||
264 | | Code | Type | Model | Message | | 225 | | Code | Type | Model | Message | |
265 | |-----|-----|-----|-----| | 226 | |-----|-----|-----|-----| |
266 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Type":"menu","Name":"服务设施"},{"Type":"normal","Name":"不错"},{"Type":"thrilling","Name":"刺激"},{"Type":"recommend","Name":"必玩"}]} | | 227 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Type":"menu","Name":"服务设施"},{"Type":"normal","Name":"不错"},{"Type":"thrilling","Name":"刺激"},{"Type":"recommend","Name":"必玩"}]} | |
@@ -269,12 +230,9 @@ | @@ -269,12 +230,9 @@ | ||
269 | 230 | ||
270 | 231 | ||
271 | <a name="更新商品"></a> | 232 | <a name="更新商品"></a> |
272 | -[更新商品](#更新商品) | ||
273 | -#### /UpdateCommodity (POST) | ||
274 | - | ||
275 | - | ||
276 | -更新商品 | ||
277 | 233 | ||
234 | +#### /UpdateCommodity (POST) | ||
235 | +<a name='更新商品'></a> | ||
278 | | Code | Type | Model | Message | | 236 | | Code | Type | Model | Message | |
279 | |-----|-----|-----|-----| | 237 | |-----|-----|-----|-----| |
280 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | | 238 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | |
@@ -283,12 +241,9 @@ | @@ -283,12 +241,9 @@ | ||
283 | 241 | ||
284 | 242 | ||
285 | <a name="更新设施"></a> | 243 | <a name="更新设施"></a> |
286 | -[更新设施](#更新设施) | ||
287 | -#### /UpdateItem (POST) | ||
288 | - | ||
289 | - | ||
290 | -更新设施 | ||
291 | 244 | ||
245 | +#### /UpdateItem (POST) | ||
246 | +<a name='更新设施'></a> | ||
292 | | Code | Type | Model | Message | | 247 | | Code | Type | Model | Message | |
293 | |-----|-----|-----|-----| | 248 | |-----|-----|-----|-----| |
294 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | | 249 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | |
@@ -297,12 +252,9 @@ | @@ -297,12 +252,9 @@ | ||
297 | 252 | ||
298 | 253 | ||
299 | <a name="更新等待时间"></a> | 254 | <a name="更新等待时间"></a> |
300 | -[更新等待时间](#更新等待时间) | ||
301 | -#### /UpdateItemTime (POST) | ||
302 | - | ||
303 | - | ||
304 | -更新等待时间 | ||
305 | 255 | ||
256 | +#### /UpdateItemTime (POST) | ||
257 | +<a name='更新等待时间'></a> | ||
306 | | Param Name | Example | Data Type | Description | Required? | | 258 | | Param Name | Example | Data Type | Description | Required? | |
307 | |-----|-----|-----|-----|-----| | 259 | |-----|-----|-----|-----|-----| |
308 | | item | [{"id":"5df864740a9ac17ac7a7feb8","time":"20"},{"id":"5df8660924e03417008b4567","time":"33"}] | string | 设备列表 | Yes | | 260 | | item | [{"id":"5df864740a9ac17ac7a7feb8","time":"20"},{"id":"5df8660924e03417008b4567","time":"33"}] | string | 设备列表 | Yes | |
@@ -316,12 +268,9 @@ | @@ -316,12 +268,9 @@ | ||
316 | 268 | ||
317 | 269 | ||
318 | <a name="更新线路"></a> | 270 | <a name="更新线路"></a> |
319 | -[更新线路](#更新线路) | ||
320 | -#### /UpdateLine (POST) | ||
321 | - | ||
322 | - | ||
323 | -更新线路 | ||
324 | 271 | ||
272 | +#### /UpdateLine (POST) | ||
273 | +<a name='更新线路'></a> | ||
325 | | Code | Type | Model | Message | | 274 | | Code | Type | Model | Message | |
326 | |-----|-----|-----|-----| | 275 | |-----|-----|-----|-----| |
327 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | | 276 | | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | |
@@ -330,12 +279,9 @@ | @@ -330,12 +279,9 @@ | ||
330 | 279 | ||
331 | 280 | ||
332 | <a name="更新景区基础信息"></a> | 281 | <a name="更新景区基础信息"></a> |
333 | -[更新景区基础信息](#更新景区基础信息) | ||
334 | -#### /UpdateScenic (POST) | ||
335 | - | ||
336 | - | ||
337 | -更新景区基础信息 | ||
338 | 282 | ||
283 | +#### /UpdateScenic (POST) | ||
284 | +<a name='更新景区基础信息'></a> | ||
339 | | Param Name | Example | Data Type | Description | Required? | | 285 | | Param Name | Example | Data Type | Description | Required? | |
340 | |-----|-----|-----|-----|-----| | 286 | |-----|-----|-----|-----|-----| |
341 | | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | | 287 | | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | |
@@ -349,12 +295,9 @@ | @@ -349,12 +295,9 @@ | ||
349 | 295 | ||
350 | 296 | ||
351 | <a name="上传"></a> | 297 | <a name="上传"></a> |
352 | -[上传](#上传) | ||
353 | -#### /Upload (POST) | ||
354 | - | ||
355 | - | ||
356 | -上传 | ||
357 | 298 | ||
299 | +#### /Upload (POST) | ||
300 | +<a name='上传'></a> | ||
358 | | Param Name | Example | Data Type | Description | Required? | | 301 | | Param Name | Example | Data Type | Description | Required? | |
359 | |-----|-----|-----|-----|-----| | 302 | |-----|-----|-----|-----|-----| |
360 | | file | 1 | file | 文件 | Yes | | 303 | | file | 1 | file | 文件 | Yes | |
@@ -368,12 +311,9 @@ | @@ -368,12 +311,9 @@ | ||
368 | 311 | ||
369 | 312 | ||
370 | <a name="获取用户信息"></a> | 313 | <a name="获取用户信息"></a> |
371 | -[获取用户信息](#获取用户信息) | ||
372 | -#### /UserInfo (GET) | ||
373 | - | ||
374 | - | ||
375 | -获取用户信息 | ||
376 | 314 | ||
315 | +#### /UserInfo (GET) | ||
316 | +<a name='获取用户信息'></a> | ||
377 | | Param Name | Example | Data Type | Description | Required? | | 317 | | Param Name | Example | Data Type | Description | Required? | |
378 | |-----|-----|-----|-----|-----| | 318 | |-----|-----|-----|-----|-----| |
379 | | id | aaron | string | 用户id | Yes | | 319 | | id | aaron | string | 用户id | Yes | |