Blame view

README.md 41.7 KB
8fa7cc70   aarongao   ..
1
2
3
4

## 乐游图后端接口文档
| Specification | Value |
|-----|-----|
cfcccc99   aarongao   ok
5
| API Version | 1.0.0 |
8fa7cc70   aarongao   ..
6
7
8
9
10
11
12
13
14
15
16
| BasePath | 正式 leyoutu.st-i.com.cn; 测试 leyoutu.sti-uat.com |



### API List
1. [查询所有商品](#allcommodity-get)
1. [投诉 - 查询所有投诉](#allcomplaint-get)
1. [设备管理 - 获得所有设备的等待时间](#allitemtime-get)
1. [设备管理 - 查询所有游玩项目](#allitems-get)
1. [查询所有线路](#allline-get)
1. [操作员管理 - 所有操作员](#alloperator-get)
f56bf95d   aarongao   ..
17
1. [查询所有用户行为](#alloperatorlog-get)
8fa7cc70   aarongao   ..
18
19
20
21
1. [所有景区基础信息](#allscenic-get)
1. [标签 - 所有标签](#alltag-get)
1. [标签 - 按照标签分组查看所有标签](#alltaggroup-get)
1. [查询所有用户行为](#alluserlog-get)
483ade81   aarongao   v1.1
22
1. [用户管理 - 检查Token是否过期](#checktoken-post)
8fa7cc70   aarongao   ..
23
24
25
26
27
28
1. [查询商品信息](#commodityinfo-get)
1. [投诉 - 增加投诉](#createcomplaint-post)
1. [查询用户的定时提醒](#dealymessage-info-get)
1. [创建提醒](#dealymessage-create-post)
1. [删除提醒](#dealymessage-remove-post)
1. [图标管理 - 返回图标基础信息](#icon-info-get)
483ade81   aarongao   v1.1
29
1. [图标管理 - 增加或修改图标信息](#icon-update-post)
8fa7cc70   aarongao   ..
30
31
32
33
34
35
36
37
38
1. [图标管理 - 所有图标](#icon-all-get)
1. [问券调查 - 增加调查](#investigation-save-post)
1. [问券调查 - 查询所有问券调查](#investigation-list-get)
1. [设备管理 - 查询设备信息](#iteminfo-get)
1. [查询线路信息](#lineinfo-get)
1. [操作员管理 - 操作员登录](#loginoperator-post)
1. [用户管理 - 用户登录&注册](#loginuser-post)
1. [查询公告-单条](#notice-info-get)
1. [查询公告-列表](#notice-list-get)
8bea6075   aarongao   new
39
40
41
42
43
1. [创建公告](#notice-create-post)
1. [删除公告](#notice-remove-post)
1. [修改公告](#notice-modify-post)
1. [用户管理 - 注册客户端](#registerdevice-post)
1. [用户管理 - 删除用户(注销)](#removeuser-post)
8fa7cc70   aarongao   ..
44
45
46
47
1. [返回景区基础信息](#scenicinfo-get)
1. [发送短信验证码](#sms-send-post)
1. [查询系统广告-单条](#sysads-info-get)
1. [查询系统广告-列表](#sysads-list-get)
15b2f923   aarongao   ..
48
49
1. [修改平台广告](#sysads-modify-post)
1. [查询系统信息接口](#systeminfo-get)
d631c7b6   aarongao   ..
50
1. [标签 - 增加标签](#tag-create-post)
8fa7cc70   aarongao   ..
51
52
53
54
55
1. [标签 - 删除标签](#tag-remove-post)
1. [菜单管理 - 查询所有菜单](#topmenus-all-get)
1. [菜单管理 - 更新菜单](#topmenus-update-post)
1. [删除菜单](#topmenus-remove-post)
1. [保存用户移动轨迹(5分钟提交一次)](#trajectory-save-post)
58ec1105   aarongao   new
56
1. [更新商品](#updatecommodity-post)
8fa7cc70   aarongao   ..
57
58
59
60
61
62
63
1. [设备管理 - 更新设施](#updateitem-post)
1. [设备管理 - 更新等待时间](#updateitemtime-post)
1. [更新线路](#updateline-post)
1. [操作员管理 - 修改用户信息](#updateoperator-post)
1. [更新景区基础信息](#updatescenic-post)
1. [用户管理 - 修改用户信息](#updateuser-post)
1. [上传](#upload-post)
483ade81   aarongao   v1.1
64
1. [用户管理 - 获取用户信息](#userinfo-get)
8fa7cc70   aarongao   ..
65
66
1. [增加用户行为日志](#userlog-post)

cfcccc99   aarongao   ok
67

8fa7cc70   aarongao   ..
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

<a name="allcommodity-get"></a>

#### /AllCommodity (GET)


查询所有商品

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Price=价格;ShopName=店铺名称;KvPhoto用于列表页的图片;TopPhoto详情页最上面的轮播图;Images详情页下面的产品详细图 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


cfcccc99   aarongao   ok
87

8fa7cc70   aarongao   ..
88
89
90
91
92
93
94
95
96
97
98
99
100
<a name="allcomplaint-get"></a>

#### /AllComplaint (GET)


投诉 - 查询所有投诉

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5e1ed07524e03431008b4572    | string | 景区id | Yes |
| Page | 1    | int | 当前第几页 | Yes |


58ec1105   aarongao   new
101
| Code | Type | Model | Message |
8fa7cc70   aarongao   ..
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) |  |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="allitemtime-get"></a>

#### /AllItemTime (GET)


设备管理 - 获得所有设备的等待时间

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {5df864740a9ac17ac7a7feb8: '20',.....} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {} |



<a name="allitems-get"></a>

#### /AllItems (GET)


设备管理 - 查询所有游玩项目

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单, OpenHours开放时间: LocationDescription位置描述; Reminder温馨提示; State运行状态0=正常1=停运 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


cfcccc99   aarongao   ok
145

8fa7cc70   aarongao   ..
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<a name="allline-get"></a>

#### /AllLine (GET)


查询所有线路

| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;SubName副标题;PlayDuration游玩时长;Suitable适合人群;Location线路点坐标;Annotations需要点亮的设施id;Distance距离 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="alloperator-get"></a>

#### /AllOperator (GET)


操作员管理 - 所有操作员

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | 5dfb03070a9ac17ac7a82054    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) |  |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="alloperatorlog-get"></a>

#### /AllOperatorLog (GET)

f56bf95d   aarongao   ..
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203

查询所有用户行为

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Page | 1    | int | 当前第几页 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"total":1,"currpage":1,"totalpages":1,"prepage":20,"result":} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="allscenic-get"></a>

#### /AllScenic (GET)

8fa7cc70   aarongao   ..
204
205
206
207
208
209
210

所有景区基础信息

| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) |  |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |
483ade81   aarongao   v1.1
211
212
213
214
215



<a name="alltag-get"></a>

8fa7cc70   aarongao   ..
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
#### /AllTag (GET)


标签 - 所有标签

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Type":"menu","Name":"服务设施"},{"Type":"normal","Name":"不错"},{"Type":"thrilling","Name":"刺激"},{"Type":"recommend","Name":"必玩"}]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="alltaggroup-get"></a>

#### /AllTagGroup (GET)


标签 - 按照标签分组查看所有标签

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Tags":["儿童","成人","青少年"],"Type":"age"}]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="alluserlog-get"></a>

#### /AllUserLog (GET)


查询所有用户行为

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Page | 1    | int | 当前第几页 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"total":1,"currpage":1,"totalpages":1,"prepage":20,"result":} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |

f56bf95d   aarongao   ..
270

8fa7cc70   aarongao   ..
271
272
273
274
275
276
277
278
279
280

<a name="checktoken-post"></a>

#### /CheckToken (POST)


用户管理 - 检查Token是否过期

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
483ade81   aarongao   v1.1
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":401,"errmsg":"token过期"} |



<a name="commodityinfo-get"></a>

#### /CommodityInfo (GET)


查询商品信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | id | Yes |

8fa7cc70   aarongao   ..
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334

| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Price=价格;ShopName=店铺名称;KvPhoto用于列表页的图片;TopPhoto详情页最上面的轮播图;Images详情页下面的产品详细图 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="createcomplaint-post"></a>

#### /CreateComplaint (POST)


投诉 - 增加投诉

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| Mobile | 18616619599    | string | 联系电话 | Yes |
| Name | 高先生    | string | 姓名 | Yes |
| Code | 123456    | string | 验证码 | Yes |
| Sex | 男    | string | 性别 | Yes |
| ScenicId | 5e1ed07524e03431008b4572    | string | 景区id | Yes |
| Type | 1    | string | 类型 | Yes |
| Content | 卫生不干净    | string | 投诉内容 | Yes |
| Image | ["http://www.xx.com/123.jpg","http://www.xx.com/123.jpg"]    | string | 照片数组 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


cfcccc99   aarongao   ok
335

8fa7cc70   aarongao   ..
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<a name="dealymessage-info-get"></a>

#### /DealyMessage/Info (GET)


查询用户的定时提醒

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| UserId | 5dfb03070a9ac17ac7a82054    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | DelayTime=执行时间;Type=类型(0请求url地址1发送app通知);Fail失败次数;Title=通知标题;Content=通知内容;DeviceToken=设备id |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="dealymessage-create-post"></a>

#### /DealyMessage/Create (POST)


创建提醒

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| UserId | 5dfb03070a9ac17ac7a82054    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| DeviceToken | 5dfb03070a9ac17ac7a82054    | string | 设备id | Yes |
| Title | 表演时间提醒    | string | 标题 | Yes |
| Content | 5分钟后有表演    | string | 内容 | Yes |
| DelayTime | 1579066863    | string | 到达这个时间戳就执行 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="dealymessage-remove-post"></a>

#### /DealyMessage/Remove (POST)


删除提醒

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 提醒id | Yes |
| UserId | 5dfb03070a9ac17ac7a82054    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="icon-info-get"></a>

#### /Icon/Info (GET)


图标管理 - 返回图标基础信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 图标id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称:Picture图片地址:id图标id |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="icon-update-post"></a>

#### /Icon/Update (POST)


图标管理 - 增加或修改图标信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 图标id | Yes |
| ScenicId | 5e0d504e24e03431008b4567    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
483ade81   aarongao   v1.1
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称:Picture图片地址:id图标id:ScenicId景区id |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="icon-all-get"></a>

#### /Icon/All (GET)


图标管理 - 所有图标

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
8fa7cc70   aarongao   ..
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称:Picture图片地址:id图标id:ScenicId景区id |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="investigation-save-post"></a>

#### /Investigation/Save (POST)


问券调查 - 增加调查

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| UserId | 1111111    | string | UserId | Yes |
| Mobile | 18616619599    | string | 联系电话 | Yes |
| type | 1    | string | 类型 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="investigation-list-get"></a>

#### /Investigation/List (GET)


问券调查 - 查询所有问券调查

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| Page | 1    | int | 当前第几页 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"total":1,"currpage":1,"totalpages":1,"prepage":20,"result":} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="iteminfo-get"></a>

#### /ItemInfo (GET)


设备管理 - 查询设备信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 设备id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单, OpenHours开放时间: LocationDescription位置描述; Reminder温馨提示; State运行状态0=正常1=停运 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="lineinfo-get"></a>

#### /LineInfo (GET)


查询线路信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;SubName副标题;PlayDuration游玩时长;Suitable适合人群;Location线路点坐标;Annotations需要点亮的设施id;Distance距离 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="loginoperator-post"></a>

#### /LoginOperator (POST)


操作员管理 - 操作员登录

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| Username | aaron    | string | 用户名 | Yes |
| Password | 123    | string | 密码 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e09c64c1c09c6f0f7ca2fa9","Token":"640bf934e425aba5d3c90998b2641f2f0ca07261d334d9615d1cd4790b5f34e7"}} 调用其它需要登陆的接口时携带token,有过期时间 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="loginuser-post"></a>

#### /LoginUser (POST)


用户管理 - 用户登录&注册

cfcccc99   aarongao   ok
560
| Param Name | Example | Data Type | Description | Required? |
8fa7cc70   aarongao   ..
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
|-----|-----|-----|-----|-----|
| Mobile | aaron    | string | 手机号 | Yes |
| Code | 1    | string | 验证码(使用验证码的新手机号自动注册) | Yes |
| DeviceId | abc123    | string | 手机唯一识别码,不重复(存放于http.header中) |  |
| Mac | abc123    | string | 网卡Mac地址(存放于http.header中) |  |
| SystemType | ios    | string | ios,android(存放于http.header中) |  |
| SystemVersion | 13.01    | string | 手机版本(存放于http.header中) |  |
| SystemModel | iphone8    | string | 手机型号(存放于http.header中) |  |
| AppVersion | 1.0    | string | app版本号(存放于http.header中) |  |
| DeviceToken | abc    | string | 推送token(存放于http.header中) |  |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e09c64c1c09c6f0f7ca2fa9","Token":"640bf934e425aba5d3c90998b2641f2f0ca07261d334d9615d1cd4790b5f34e7"}} 调用其它需要登陆的接口时携带token,有过期时间 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="notice-info-get"></a>

#### /Notice/Info (GET)


查询公告-单条

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e82d2539561231535f72958","Title":"公告2","Url":"http://www.google.cn","CreateTime":1585631827,"UpdateTime":0,"Expiry":1585670400,"ExpiryString":"今天"}} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="notice-list-get"></a>

#### /Notice/List (GET)


查询公告-列表

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | wgergejfwe    | string | 景区id | Yes |
| ExpiryState | all    | string | 是否有效,默认只显示有效数据,==all所有数据 |  |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Id":"5e82c27f41914b0fdcac489f","Title":"公告","Url":"http://www.google.cn","CreateTime":1585627775,"UpdateTime":0,"Expiry":1585670400,"ExpiryString":"今天"}...]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="notice-create-post"></a>

#### /Notice/Create (POST)


创建公告

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | wgergejfwe    | string | 景区id | Yes |
| Title | 营业时间公告    | string | 公告名称 | Yes |
8bea6075   aarongao   new
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
| Url | http://abc.com    | string | 公告链接 | Yes |
| ExpiryString | http://abc.com    | string | 有效期(15分钟|1小时|今天|今年) | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="notice-remove-post"></a>

#### /Notice/Remove (POST)


删除公告

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 公告id | Yes |
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="notice-modify-post"></a>

#### /Notice/Modify (POST)


修改公告

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 公告id | Yes |
| ScenicId | wgergejfwe    | string | 景区id | Yes |
| Title | 营业时间公告    | string | 公告名称 | Yes |
| Url | http://abc.com    | string | 公告链接 | Yes |
| ExpiryString | http://abc.com    | string | 有效期(15分钟|1小时|今天|今年) | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="registerdevice-post"></a>

#### /RegisterDevice (POST)


用户管理 - 注册客户端

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| DeviceId | abc123    | string | 手机唯一识别码,不重复(存放于http.header中) |  |
| Mac | abc123    | string | 网卡Mac地址(存放于http.header中) |  |
| SystemType | ios    | string | ios,android(存放于http.header中) |  |
| SystemVersion | 13.01    | string | 手机版本(存放于http.header中) |  |
| SystemModel | iphone8    | string | 手机型号(存放于http.header中) |  |
| AppVersion | 1.0    | string | app版本号(存放于http.header中) |  |
| DeviceToken | abc    | string | 推送token(存放于http.header中) |  |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="removeuser-post"></a>

#### /RemoveUser (POST)


用户管理 - 删除用户(注销)

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | aaron    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="scenicinfo-get"></a>

#### /ScenicInfo (GET)
8fa7cc70   aarongao   ..
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792


返回景区基础信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;Describe介绍;OpenHours营业时间;Picture最上面图片;ShopAdPicture商城列表页图片;ItemScenicPicture项目场次照片;ActivityPicture活动照片;VideoList视频(VideoPicture=首桢图片);InvestigationUrl问券调查的url;RangeLocation景区范围(多个坐标点) |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="sms-send-post"></a>

#### /Sms/Send (POST)


发送短信验证码

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| Mobile | 18616619599    | string | 手机号 | Yes |
| Location | {"Latitude": 119, "Longitude": 39}    | string | 位置 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"}验证码1分钟内有效 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="sysads-info-get"></a>

#### /SysAds/Info (GET)


查询系统广告-单条

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e858c09b1d67b2d117e2e58","Site":"景区选择页","Size":{"Width":100,"Height":100},"Type":"轮播","Picture":[{"Src":"/Upload/1585820891339307000.png","Link":"222"}],"Video":[]}} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="sysads-list-get"></a>

#### /SysAds/List (GET)


查询系统广告-列表

| Code | Type | Model | Message |
483ade81   aarongao   v1.1
793
|-----|-----|-----|-----|
8fa7cc70   aarongao   ..
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Id":"5e858c09b1d67b2d117e2e58","Site":"景区选择页","Size":{"Width":100,"Height":100},"Type":"轮播","Picture":[{"Src":"/Upload/1585820891339307000.png","Link":"222"}],"Video":[]}]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="sysads-modify-post"></a>

#### /SysAds/Modify (POST)


修改平台广告

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 平台广告id | Yes |
| Site | Height    | string | 位置 | Yes |
| Height | 100    | string | 尺寸 | Yes |
| Width | 100    | string | 尺寸 | Yes |
| Type | 单视频    | string | 类型(轮播|单图|单视频) | Yes |
| Picture | [{"Src":"/Upload/1585820891339307000.png","Link":"222"}]    | string | 图片 | Yes |
| Video | [{"Src":"../plugins/images/defaultpic.png","Link":"22","Title":"22","VideoPicture":"/Upload/1585821569540095000.png"}]    | string | 视频 | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
15b2f923   aarongao   ..
818
819
820
821
822
823
824
825
826
827
828
829
830
831
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="systeminfo-get"></a>

#### /SystemInfo (GET)


查询系统信息接口

| Code | Type | Model | Message |
d631c7b6   aarongao   ..
832
|-----|-----|-----|-----|
15b2f923   aarongao   ..
833
834
835
836
837
838
839
840
841
842
843
844
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Version=最新版本号UpdateLocationInterval上报位置时间间隔(秒) |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="tag-create-post"></a>

#### /Tag/Create (POST)


标签 - 增加标签

d631c7b6   aarongao   ..
845
| Param Name | Example | Data Type | Description | Required? |
15b2f923   aarongao   ..
846
847
848
849
850
851
852
853
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| TagName | 广场    | string | 标签名称 | Yes |
| TagGroup | location    | string | 群组名称 | Yes |


| Code | Type | Model | Message |
d631c7b6   aarongao   ..
854
|-----|-----|-----|-----|
15b2f923   aarongao   ..
855
856
857
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |

d631c7b6   aarongao   ..
858
859
860
861
862
863
864

<a name="tag-remove-post"></a>

#### /Tag/Remove (POST)


标签 - 删除标签
15b2f923   aarongao   ..
865
866
867
868
869
870
871
872
873
874

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| TagName | 广场    | string | 标签名称 | Yes |
| TagGroup | location    | string | 群组名称 | Yes |


| Code | Type | Model | Message |
8fa7cc70   aarongao   ..
875
876
877
878
879
880
881
882
883
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="topmenus-all-get"></a>

#### /TopMenus/All (GET)
869149fa   aarongao   ..
884

8fa7cc70   aarongao   ..
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969

菜单管理 - 查询所有菜单

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5e0d504e24e03431008b4567    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Id":"","ScenicId":"","Title":"玩水","Tags":["玩水"]},{"Id":"","ScenicId":"","Title":"设施","Tags":["服务设施","游玩项目"]}]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="topmenus-update-post"></a>

#### /TopMenus/Update (POST)


菜单管理 - 更新菜单

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5e0d504e24e03431008b4567    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Id":"","ScenicId":"","Title":"玩水","Tags":["玩水"]},{"Id":"","ScenicId":"","Title":"设施","Tags":["服务设施","游玩项目"]}]} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |


<a name="topmenus-remove-post"></a>

#### /TopMenus/Remove (POST)


删除菜单

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 公告id | Yes |
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="trajectory-save-post"></a>

#### /Trajectory/Save (POST)


保存用户移动轨迹(5分钟提交一次)

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| UserId | 5dfb03070a9ac17ac7a82054    | string | 用户id | Yes |
| Location | {"Latitude": 119, "Longitude": 39}    | string | 经纬度 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updatecommodity-post"></a>

#### /UpdateCommodity (POST)


更新商品

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
58ec1105   aarongao   new
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) |  |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updateitem-post"></a>

#### /UpdateItem (POST)


设备管理 - 更新设施

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 设备id | Yes |
8fa7cc70   aarongao   ..
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单, OpenHours开放时间: LocationDescription位置描述; Reminder温馨提示; State运行状态0=正常1=停运 |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updateitemtime-post"></a>

#### /UpdateItemTime (POST)


设备管理 - 更新等待时间

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| item | [{"id":"5df864740a9ac17ac7a7feb8","time":"20"},{"id":"5df8660924e03417008b4567","time":"33"}]    | string | 设备列表 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {errcode: 0, result: "ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updateline-post"></a>

#### /UpdateLine (POST)


更新线路

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 线路id | Yes |
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) |  |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updateoperator-post"></a>

#### /UpdateOperator (POST)


操作员管理 - 修改用户信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | aaron    | string | 用户id | Yes |
| ScenicId | 5e0d504e24e03431008b4567    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| Username | aarongao    | string | 用户名 | Yes |
| Remarks | 18616619599    | string | 备注 | Yes |
| Password | 12345    | string | 密码 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updatescenic-post"></a>

#### /UpdateScenic (POST)


更新景区基础信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;Describe介绍;OpenHours营业时间;Picture最上面图片;ShopAdPicture商城列表页图片;ItemScenicPicture项目场次照片;ActivityPicture活动照片;VideoList视频(VideoPicture=首桢图片);InvestigationUrl问券调查的url;RangeLocation景区范围(多个坐标点) |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="updateuser-post"></a>

#### /UpdateUser (POST)


用户管理 - 修改用户信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | aaron    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |
| Birthday | 2010.10.10    | string | 生日 | Yes |
| FullName | aarongao    | string | 全名 | Yes |
| Code | 12345678    | string | 6位验证码 | Yes |
| Mobile | 18616619599    | string | 手机,同用户名 | Yes |
| Sex | 男    | string | 性别 | Yes |
| Openid | 12345    | string | 微信id | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="upload-post"></a>

#### /Upload (POST)


上传

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| file | 1    | file | 文件 | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"图片地址"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="userinfo-get"></a>
483ade81   aarongao   v1.1
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153

#### /UserInfo (GET)


用户管理 - 获取用户信息

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| id | aaron    | string | 用户id | Yes |
| Token | wgergejfwe    | string | 用户token | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":{"Id":"5e09c64c1c09c6f0f7ca2fa9","Token":"640bf934e425aba5d3c90998b2641f2f0ca07261d334d9615d1cd4790b5f34e7"}} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |



<a name="userlog-post"></a>

8fa7cc70   aarongao   ..
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
#### /UserLog (POST)


增加用户行为日志

| Param Name | Example | Data Type | Description | Required? |
|-----|-----|-----|-----|-----|
| Type | 访问页面    | string | 安装;卸载;访问页面;使用功能;缩放地图;进入景区 | Yes |
| SubType | 景区详情    | string | 推荐;景区详情;登陆;商城;投诉建议;问券调查....(app中能点的都加上) | Yes |
| ScenicId | 5dfb03070a9ac17ac7a82054    | string | 景区id | Yes |
| UserId | 5dfb03070a9ac17ac7a82054    | string | 用户ID | Yes |
| UserName | Aaron    | string | 用户名称 | Yes |
| Location | {"Latitude": 119, "Longitude": 39}    | string | 位置 | Yes |
| Remarks | 备注    | string | 备注 | Yes |
| Source | 用户分享    | string | 来源 | Yes |
| DeviceId | abc123    | string | 手机唯一识别码,不重复(存放于http.header中) | Yes |
| Mac | abc123    | string | 网卡Mac地址(存放于http.header中) | Yes |
| SystemType | ios    | string | ios,android(存放于http.header中) | Yes |
| SystemVersion | 13.01    | string | 手机版本(存放于http.header中) | Yes |
| SystemModel | iphone8    | string | 手机型号(存放于http.header中) | Yes |
| AppVersion | 1.0    | string | app版本号(存放于http.header中) | Yes |
| DeviceToken | abc    | string | 推送token(存放于http.header中) | Yes |


| Code | Type | Model | Message |
|-----|-----|-----|-----|
| 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":"ok"} |
| 500 | object | [ResponseError](#github.com.aarongao.tools.ResponseError) | {"errcode":1,"errmsg":"错误原因"} |
cfcccc99   aarongao   ok

8fa7cc70   aarongao   ..