|
@@ -144,32 +144,26 @@ |
|
@@ -144,32 +144,26 @@ |
144
|
<a href="javascript:;" data-id="0" class="list-group-item">加载初始化</a>
|
144
|
<a href="javascript:;" data-id="0" class="list-group-item">加载初始化</a>
|
145
|
<a href="javascript:;" data-id="1" class="list-group-item">上传文件</a>
|
145
|
<a href="javascript:;" data-id="1" class="list-group-item">上传文件</a>
|
146
|
</div>
|
146
|
</div>
|
147
|
- <a href="#示例接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">示例接口 <i class="fa fa-caret-down"></i></a>
|
|
|
148
|
- <div class="child collapse" id="示例接口">
|
|
|
149
|
- <a href="javascript:;" data-id="2" class="list-group-item">测试名称</a>
|
|
|
150
|
- </div>
|
|
|
151
|
<a href="#邮箱验证码接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">邮箱验证码接口 <i class="fa fa-caret-down"></i></a>
|
147
|
<a href="#邮箱验证码接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">邮箱验证码接口 <i class="fa fa-caret-down"></i></a>
|
152
|
<div class="child collapse" id="邮箱验证码接口">
|
148
|
<div class="child collapse" id="邮箱验证码接口">
|
153
|
- <a href="javascript:;" data-id="3" class="list-group-item">发送验证码</a>
|
|
|
154
|
- <a href="javascript:;" data-id="4" class="list-group-item">检测验证码</a>
|
|
|
155
|
- </div>
|
|
|
156
|
- <a href="#首页接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">首页接口 <i class="fa fa-caret-down"></i></a>
|
|
|
157
|
- <div class="child collapse" id="首页接口">
|
|
|
158
|
- <a href="javascript:;" data-id="5" class="list-group-item">首页</a>
|
149
|
+ <a href="javascript:;" data-id="2" class="list-group-item">发送验证码</a>
|
|
|
150
|
+ <a href="javascript:;" data-id="3" class="list-group-item">检测验证码</a>
|
159
|
</div>
|
151
|
</div>
|
160
|
<a href="#Token接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">Token接口 <i class="fa fa-caret-down"></i></a>
|
152
|
<a href="#Token接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">Token接口 <i class="fa fa-caret-down"></i></a>
|
161
|
<div class="child collapse" id="Token接口">
|
153
|
<div class="child collapse" id="Token接口">
|
162
|
- <a href="javascript:;" data-id="6" class="list-group-item">检测Token是否过期</a>
|
|
|
163
|
- <a href="javascript:;" data-id="7" class="list-group-item">刷新Token</a>
|
154
|
+ <a href="javascript:;" data-id="4" class="list-group-item">检测Token是否过期</a>
|
|
|
155
|
+ <a href="javascript:;" data-id="5" class="list-group-item">刷新Token</a>
|
164
|
</div>
|
156
|
</div>
|
165
|
<a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心 <i class="fa fa-caret-down"></i></a>
|
157
|
<a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心 <i class="fa fa-caret-down"></i></a>
|
166
|
<div class="child collapse" id="个人中心">
|
158
|
<div class="child collapse" id="个人中心">
|
167
|
- <a href="javascript:;" data-id="8" class="list-group-item">小程序登录</a>
|
|
|
168
|
- <a href="javascript:;" data-id="9" class="list-group-item">首页视频、图片、精美大片入口</a>
|
|
|
169
|
- <a href="javascript:;" data-id="10" class="list-group-item">地区分类</a>
|
|
|
170
|
- <a href="javascript:;" data-id="11" class="list-group-item">搜索页</a>
|
|
|
171
|
- <a href="javascript:;" data-id="12" class="list-group-item">图片列表</a>
|
|
|
172
|
- <a href="javascript:;" data-id="13" class="list-group-item">图片详情</a>
|
159
|
+ <a href="javascript:;" data-id="6" class="list-group-item">小程序登录</a>
|
|
|
160
|
+ <a href="javascript:;" data-id="7" class="list-group-item">首页视频、图片、精美大片入口</a>
|
|
|
161
|
+ <a href="javascript:;" data-id="8" class="list-group-item">地区分类</a>
|
|
|
162
|
+ <a href="javascript:;" data-id="9" class="list-group-item">搜索页</a>
|
|
|
163
|
+ <a href="javascript:;" data-id="10" class="list-group-item">图片列表</a>
|
|
|
164
|
+ <a href="javascript:;" data-id="11" class="list-group-item">视频列表</a>
|
|
|
165
|
+ <a href="javascript:;" data-id="12" class="list-group-item">图片详情</a>
|
|
|
166
|
+ <a href="javascript:;" data-id="13" class="list-group-item">视频详情</a>
|
173
|
<a href="javascript:;" data-id="14" class="list-group-item">历史记录</a>
|
167
|
<a href="javascript:;" data-id="14" class="list-group-item">历史记录</a>
|
174
|
</div>
|
168
|
</div>
|
175
|
</div>
|
169
|
</div>
|
|
@@ -417,13 +411,13 @@ |
|
@@ -417,13 +411,13 @@ |
417
|
</div>
|
411
|
</div>
|
418
|
</div>
|
412
|
</div>
|
419
|
</div>
|
413
|
</div>
|
420
|
- <h2>示例接口</h2>
|
414
|
+ <h2>邮箱验证码接口</h2>
|
421
|
<hr>
|
415
|
<hr>
|
422
|
<div class="panel panel-default">
|
416
|
<div class="panel panel-default">
|
423
|
<div class="panel-heading" id="heading-2">
|
417
|
<div class="panel-heading" id="heading-2">
|
424
|
<h4 class="panel-title">
|
418
|
<h4 class="panel-title">
|
425
|
- <span class="label label-primary">POST</span>
|
|
|
426
|
- <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 测试名称 <span class="text-muted">/api/demo/test/id/{id}/name/{name}</span></a>
|
419
|
+ <span class="label label-success">GET</span>
|
|
|
420
|
+ <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 发送验证码 <span class="text-muted">/api/ems/send</span></a>
|
427
|
</h4>
|
421
|
</h4>
|
428
|
</div>
|
422
|
</div>
|
429
|
<div id="collapseOne2" class="panel-collapse collapse">
|
423
|
<div id="collapseOne2" class="panel-collapse collapse">
|
|
@@ -441,28 +435,11 @@ |
|
@@ -441,28 +435,11 @@ |
441
|
|
435
|
|
442
|
<div class="tab-pane active" id="info2">
|
436
|
<div class="tab-pane active" id="info2">
|
443
|
<div class="well">
|
437
|
<div class="well">
|
444
|
- 测试描述信息 </div>
|
438
|
+ 发送验证码 </div>
|
445
|
<div class="panel panel-default">
|
439
|
<div class="panel panel-default">
|
446
|
<div class="panel-heading"><strong>Headers</strong></div>
|
440
|
<div class="panel-heading"><strong>Headers</strong></div>
|
447
|
<div class="panel-body">
|
441
|
<div class="panel-body">
|
448
|
- <table class="table table-hover">
|
|
|
449
|
- <thead>
|
|
|
450
|
- <tr>
|
|
|
451
|
- <th>名称</th>
|
|
|
452
|
- <th>类型</th>
|
|
|
453
|
- <th>必选</th>
|
|
|
454
|
- <th>描述</th>
|
|
|
455
|
- </tr>
|
|
|
456
|
- </thead>
|
|
|
457
|
- <tbody>
|
|
|
458
|
- <tr>
|
|
|
459
|
- <td>token</td>
|
|
|
460
|
- <td>string</td>
|
|
|
461
|
- <td>是</td>
|
|
|
462
|
- <td>请求的Token</td>
|
|
|
463
|
- </tr>
|
|
|
464
|
- </tbody>
|
|
|
465
|
- </table>
|
442
|
+ 无
|
466
|
</div>
|
443
|
</div>
|
467
|
</div>
|
444
|
</div>
|
468
|
<div class="panel panel-default">
|
445
|
<div class="panel panel-default">
|
|
@@ -479,22 +456,16 @@ |
|
@@ -479,22 +456,16 @@ |
479
|
</thead>
|
456
|
</thead>
|
480
|
<tbody>
|
457
|
<tbody>
|
481
|
<tr>
|
458
|
<tr>
|
482
|
- <td>id</td>
|
|
|
483
|
- <td>integer</td>
|
|
|
484
|
- <td>是</td>
|
|
|
485
|
- <td>会员ID</td>
|
|
|
486
|
- </tr>
|
|
|
487
|
- <tr>
|
|
|
488
|
- <td>name</td>
|
459
|
+ <td>email</td>
|
489
|
<td>string</td>
|
460
|
<td>string</td>
|
490
|
<td>是</td>
|
461
|
<td>是</td>
|
491
|
- <td>用户名</td>
|
462
|
+ <td>邮箱</td>
|
492
|
</tr>
|
463
|
</tr>
|
493
|
<tr>
|
464
|
<tr>
|
494
|
- <td>data</td>
|
|
|
495
|
- <td>object</td>
|
465
|
+ <td>event</td>
|
|
|
466
|
+ <td>string</td>
|
496
|
<td>是</td>
|
467
|
<td>是</td>
|
497
|
- <td>扩展数据</td>
|
468
|
+ <td>事件名称</td>
|
498
|
</tr>
|
469
|
</tr>
|
499
|
</tbody>
|
470
|
</tbody>
|
500
|
</table>
|
471
|
</table>
|
|
@@ -511,31 +482,16 @@ |
|
@@ -511,31 +482,16 @@ |
511
|
<div class="row">
|
482
|
<div class="row">
|
512
|
<div class="col-md-12">
|
483
|
<div class="col-md-12">
|
513
|
<div class="panel panel-default">
|
484
|
<div class="panel panel-default">
|
514
|
- <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
515
|
- <div class="panel-body">
|
|
|
516
|
- <div class="headers">
|
|
|
517
|
- <div class="form-group">
|
|
|
518
|
- <label class="control-label" for="token">token</label>
|
|
|
519
|
- <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
520
|
- </div>
|
|
|
521
|
- </div>
|
|
|
522
|
- </div>
|
|
|
523
|
- </div>
|
|
|
524
|
- <div class="panel panel-default">
|
|
|
525
|
<div class="panel-heading"><strong>参数</strong></div>
|
485
|
<div class="panel-heading"><strong>参数</strong></div>
|
526
|
<div class="panel-body">
|
486
|
<div class="panel-body">
|
527
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/demo/test/id/{id}/name/{name}" method="POST" name="form2" id="form2">
|
487
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/send" method="get" name="form2" id="form2">
|
528
|
<div class="form-group">
|
488
|
<div class="form-group">
|
529
|
- <label class="control-label" for="id">id</label>
|
|
|
530
|
- <input type="integer" class="form-control input-sm" id="id" required placeholder="会员ID" name="id">
|
|
|
531
|
- </div>
|
|
|
532
|
- <div class="form-group">
|
|
|
533
|
- <label class="control-label" for="name">name</label>
|
|
|
534
|
- <input type="string" class="form-control input-sm" id="name" required placeholder="用户名" name="name">
|
489
|
+ <label class="control-label" for="email">email</label>
|
|
|
490
|
+ <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
535
|
</div>
|
491
|
</div>
|
536
|
<div class="form-group">
|
492
|
<div class="form-group">
|
537
|
- <label class="control-label" for="data">data</label>
|
|
|
538
|
- <input type="object" class="form-control input-sm" id="data" required placeholder="扩展数据 - 例: {'user_id':'int','user_name':'string','profile':{'email':'string','age':'integer'}}" name="data">
|
493
|
+ <label class="control-label" for="event">event</label>
|
|
|
494
|
+ <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
539
|
</div>
|
495
|
</div>
|
540
|
<div class="form-group">
|
496
|
<div class="form-group">
|
541
|
<button type="submit" class="btn btn-success send" rel="2">提交</button>
|
497
|
<button type="submit" class="btn btn-success send" rel="2">提交</button>
|
|
@@ -558,32 +514,7 @@ |
|
@@ -558,32 +514,7 @@ |
558
|
<div class="panel panel-default">
|
514
|
<div class="panel panel-default">
|
559
|
<div class="panel-heading"><strong>返回参数</strong></div>
|
515
|
<div class="panel-heading"><strong>返回参数</strong></div>
|
560
|
<div class="panel-body">
|
516
|
<div class="panel-body">
|
561
|
- <table class="table table-hover">
|
|
|
562
|
- <thead>
|
|
|
563
|
- <tr>
|
|
|
564
|
- <th>名称</th>
|
|
|
565
|
- <th>类型</th>
|
|
|
566
|
- <th>描述</th>
|
|
|
567
|
- </tr>
|
|
|
568
|
- </thead>
|
|
|
569
|
- <tbody>
|
|
|
570
|
- <tr>
|
|
|
571
|
- <td>code</td>
|
|
|
572
|
- <td>integer</td>
|
|
|
573
|
- <td></td>
|
|
|
574
|
- </tr>
|
|
|
575
|
- <tr>
|
|
|
576
|
- <td>msg</td>
|
|
|
577
|
- <td>string</td>
|
|
|
578
|
- <td></td>
|
|
|
579
|
- </tr>
|
|
|
580
|
- <tr>
|
|
|
581
|
- <td>data</td>
|
|
|
582
|
- <td>object</td>
|
|
|
583
|
- <td>扩展数据返回</td>
|
|
|
584
|
- </tr>
|
|
|
585
|
- </tbody>
|
|
|
586
|
- </table>
|
517
|
+ 无
|
587
|
</div>
|
518
|
</div>
|
588
|
</div>
|
519
|
</div>
|
589
|
</div>
|
520
|
</div>
|
|
@@ -593,10 +524,7 @@ |
|
@@ -593,10 +524,7 @@ |
593
|
<div class="tab-pane" id="sample2">
|
524
|
<div class="tab-pane" id="sample2">
|
594
|
<div class="row">
|
525
|
<div class="row">
|
595
|
<div class="col-md-12">
|
526
|
<div class="col-md-12">
|
596
|
- <pre id="sample_response2">{
|
|
|
597
|
- 'code':'1',
|
|
|
598
|
- 'msg':'返回成功'
|
|
|
599
|
- }</pre>
|
527
|
+ <pre id="sample_response2">无</pre>
|
600
|
</div>
|
528
|
</div>
|
601
|
</div>
|
529
|
</div>
|
602
|
</div><!-- #sample -->
|
530
|
</div><!-- #sample -->
|
|
@@ -605,13 +533,11 @@ |
|
@@ -605,13 +533,11 @@ |
605
|
</div>
|
533
|
</div>
|
606
|
</div>
|
534
|
</div>
|
607
|
</div>
|
535
|
</div>
|
608
|
- <h2>邮箱验证码接口</h2>
|
|
|
609
|
- <hr>
|
|
|
610
|
<div class="panel panel-default">
|
536
|
<div class="panel panel-default">
|
611
|
<div class="panel-heading" id="heading-3">
|
537
|
<div class="panel-heading" id="heading-3">
|
612
|
<h4 class="panel-title">
|
538
|
<h4 class="panel-title">
|
613
|
<span class="label label-success">GET</span>
|
539
|
<span class="label label-success">GET</span>
|
614
|
- <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 发送验证码 <span class="text-muted">/api/ems/send</span></a>
|
540
|
+ <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 检测验证码 <span class="text-muted">/api/ems/check</span></a>
|
615
|
</h4>
|
541
|
</h4>
|
616
|
</div>
|
542
|
</div>
|
617
|
<div id="collapseOne3" class="panel-collapse collapse">
|
543
|
<div id="collapseOne3" class="panel-collapse collapse">
|
|
@@ -629,7 +555,7 @@ |
|
@@ -629,7 +555,7 @@ |
629
|
|
555
|
|
630
|
<div class="tab-pane active" id="info3">
|
556
|
<div class="tab-pane active" id="info3">
|
631
|
<div class="well">
|
557
|
<div class="well">
|
632
|
- 发送验证码 </div>
|
558
|
+ 检测验证码 </div>
|
633
|
<div class="panel panel-default">
|
559
|
<div class="panel panel-default">
|
634
|
<div class="panel-heading"><strong>Headers</strong></div>
|
560
|
<div class="panel-heading"><strong>Headers</strong></div>
|
635
|
<div class="panel-body">
|
561
|
<div class="panel-body">
|
|
@@ -661,6 +587,12 @@ |
|
@@ -661,6 +587,12 @@ |
661
|
<td>是</td>
|
587
|
<td>是</td>
|
662
|
<td>事件名称</td>
|
588
|
<td>事件名称</td>
|
663
|
</tr>
|
589
|
</tr>
|
|
|
590
|
+ <tr>
|
|
|
591
|
+ <td>captcha</td>
|
|
|
592
|
+ <td>string</td>
|
|
|
593
|
+ <td>是</td>
|
|
|
594
|
+ <td>验证码</td>
|
|
|
595
|
+ </tr>
|
664
|
</tbody>
|
596
|
</tbody>
|
665
|
</table>
|
597
|
</table>
|
666
|
</div>
|
598
|
</div>
|
|
@@ -678,7 +610,7 @@ |
|
@@ -678,7 +610,7 @@ |
678
|
<div class="panel panel-default">
|
610
|
<div class="panel panel-default">
|
679
|
<div class="panel-heading"><strong>参数</strong></div>
|
611
|
<div class="panel-heading"><strong>参数</strong></div>
|
680
|
<div class="panel-body">
|
612
|
<div class="panel-body">
|
681
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/send" method="get" name="form3" id="form3">
|
613
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/check" method="get" name="form3" id="form3">
|
682
|
<div class="form-group">
|
614
|
<div class="form-group">
|
683
|
<label class="control-label" for="email">email</label>
|
615
|
<label class="control-label" for="email">email</label>
|
684
|
<input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
616
|
<input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
|
@@ -688,6 +620,10 @@ |
|
@@ -688,6 +620,10 @@ |
688
|
<input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
620
|
<input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
689
|
</div>
|
621
|
</div>
|
690
|
<div class="form-group">
|
622
|
<div class="form-group">
|
|
|
623
|
+ <label class="control-label" for="captcha">captcha</label>
|
|
|
624
|
+ <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
|
|
|
625
|
+ </div>
|
|
|
626
|
+ <div class="form-group">
|
691
|
<button type="submit" class="btn btn-success send" rel="3">提交</button>
|
627
|
<button type="submit" class="btn btn-success send" rel="3">提交</button>
|
692
|
<button type="reset" class="btn btn-info" rel="3">重置</button>
|
628
|
<button type="reset" class="btn btn-info" rel="3">重置</button>
|
693
|
</div>
|
629
|
</div>
|
|
@@ -727,11 +663,13 @@ |
|
@@ -727,11 +663,13 @@ |
727
|
</div>
|
663
|
</div>
|
728
|
</div>
|
664
|
</div>
|
729
|
</div>
|
665
|
</div>
|
|
|
666
|
+ <h2>Token接口</h2>
|
|
|
667
|
+ <hr>
|
730
|
<div class="panel panel-default">
|
668
|
<div class="panel panel-default">
|
731
|
<div class="panel-heading" id="heading-4">
|
669
|
<div class="panel-heading" id="heading-4">
|
732
|
<h4 class="panel-title">
|
670
|
<h4 class="panel-title">
|
733
|
<span class="label label-success">GET</span>
|
671
|
<span class="label label-success">GET</span>
|
734
|
- <a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 检测验证码 <span class="text-muted">/api/ems/check</span></a>
|
672
|
+ <a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 检测Token是否过期 <span class="text-muted">/api/token/check</span></a>
|
735
|
</h4>
|
673
|
</h4>
|
736
|
</div>
|
674
|
</div>
|
737
|
<div id="collapseOne4" class="panel-collapse collapse">
|
675
|
<div id="collapseOne4" class="panel-collapse collapse">
|
|
@@ -749,7 +687,7 @@ |
|
@@ -749,7 +687,7 @@ |
749
|
|
687
|
|
750
|
<div class="tab-pane active" id="info4">
|
688
|
<div class="tab-pane active" id="info4">
|
751
|
<div class="well">
|
689
|
<div class="well">
|
752
|
- 检测验证码 </div>
|
690
|
+ 检测Token是否过期 </div>
|
753
|
<div class="panel panel-default">
|
691
|
<div class="panel panel-default">
|
754
|
<div class="panel-heading"><strong>Headers</strong></div>
|
692
|
<div class="panel-heading"><strong>Headers</strong></div>
|
755
|
<div class="panel-body">
|
693
|
<div class="panel-body">
|
|
@@ -759,36 +697,7 @@ |
|
@@ -759,36 +697,7 @@ |
759
|
<div class="panel panel-default">
|
697
|
<div class="panel panel-default">
|
760
|
<div class="panel-heading"><strong>参数</strong></div>
|
698
|
<div class="panel-heading"><strong>参数</strong></div>
|
761
|
<div class="panel-body">
|
699
|
<div class="panel-body">
|
762
|
- <table class="table table-hover">
|
|
|
763
|
- <thead>
|
|
|
764
|
- <tr>
|
|
|
765
|
- <th>名称</th>
|
|
|
766
|
- <th>类型</th>
|
|
|
767
|
- <th>必选</th>
|
|
|
768
|
- <th>描述</th>
|
|
|
769
|
- </tr>
|
|
|
770
|
- </thead>
|
|
|
771
|
- <tbody>
|
|
|
772
|
- <tr>
|
|
|
773
|
- <td>email</td>
|
|
|
774
|
- <td>string</td>
|
|
|
775
|
- <td>是</td>
|
|
|
776
|
- <td>邮箱</td>
|
|
|
777
|
- </tr>
|
|
|
778
|
- <tr>
|
|
|
779
|
- <td>event</td>
|
|
|
780
|
- <td>string</td>
|
|
|
781
|
- <td>是</td>
|
|
|
782
|
- <td>事件名称</td>
|
|
|
783
|
- </tr>
|
|
|
784
|
- <tr>
|
|
|
785
|
- <td>captcha</td>
|
|
|
786
|
- <td>string</td>
|
|
|
787
|
- <td>是</td>
|
|
|
788
|
- <td>验证码</td>
|
|
|
789
|
- </tr>
|
|
|
790
|
- </tbody>
|
|
|
791
|
- </table>
|
700
|
+ 无
|
792
|
</div>
|
701
|
</div>
|
793
|
</div>
|
702
|
</div>
|
794
|
<div class="panel panel-default">
|
703
|
<div class="panel panel-default">
|
|
@@ -804,18 +713,9 @@ |
|
@@ -804,18 +713,9 @@ |
804
|
<div class="panel panel-default">
|
713
|
<div class="panel panel-default">
|
805
|
<div class="panel-heading"><strong>参数</strong></div>
|
714
|
<div class="panel-heading"><strong>参数</strong></div>
|
806
|
<div class="panel-body">
|
715
|
<div class="panel-body">
|
807
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/check" method="get" name="form4" id="form4">
|
|
|
808
|
- <div class="form-group">
|
|
|
809
|
- <label class="control-label" for="email">email</label>
|
|
|
810
|
- <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
|
|
811
|
- </div>
|
|
|
812
|
- <div class="form-group">
|
|
|
813
|
- <label class="control-label" for="event">event</label>
|
|
|
814
|
- <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
|
|
815
|
- </div>
|
716
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/check" method="get" name="form4" id="form4">
|
816
|
<div class="form-group">
|
717
|
<div class="form-group">
|
817
|
- <label class="control-label" for="captcha">captcha</label>
|
|
|
818
|
- <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
|
718
|
+ 无
|
819
|
</div>
|
719
|
</div>
|
820
|
<div class="form-group">
|
720
|
<div class="form-group">
|
821
|
<button type="submit" class="btn btn-success send" rel="4">提交</button>
|
721
|
<button type="submit" class="btn btn-success send" rel="4">提交</button>
|
|
@@ -857,13 +757,11 @@ |
|
@@ -857,13 +757,11 @@ |
857
|
</div>
|
757
|
</div>
|
858
|
</div>
|
758
|
</div>
|
859
|
</div>
|
759
|
</div>
|
860
|
- <h2>首页接口</h2>
|
|
|
861
|
- <hr>
|
|
|
862
|
<div class="panel panel-default">
|
760
|
<div class="panel panel-default">
|
863
|
<div class="panel-heading" id="heading-5">
|
761
|
<div class="panel-heading" id="heading-5">
|
864
|
<h4 class="panel-title">
|
762
|
<h4 class="panel-title">
|
865
|
<span class="label label-success">GET</span>
|
763
|
<span class="label label-success">GET</span>
|
866
|
- <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 首页 <span class="text-muted">/api/index/index</span></a>
|
764
|
+ <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 刷新Token <span class="text-muted">/api/token/refresh</span></a>
|
867
|
</h4>
|
765
|
</h4>
|
868
|
</div>
|
766
|
</div>
|
869
|
<div id="collapseOne5" class="panel-collapse collapse">
|
767
|
<div id="collapseOne5" class="panel-collapse collapse">
|
|
@@ -881,7 +779,7 @@ |
|
@@ -881,7 +779,7 @@ |
881
|
|
779
|
|
882
|
<div class="tab-pane active" id="info5">
|
780
|
<div class="tab-pane active" id="info5">
|
883
|
<div class="well">
|
781
|
<div class="well">
|
884
|
- 首页 </div>
|
782
|
+ 刷新Token </div>
|
885
|
<div class="panel panel-default">
|
783
|
<div class="panel panel-default">
|
886
|
<div class="panel-heading"><strong>Headers</strong></div>
|
784
|
<div class="panel-heading"><strong>Headers</strong></div>
|
887
|
<div class="panel-body">
|
785
|
<div class="panel-body">
|
|
@@ -907,7 +805,7 @@ |
|
@@ -907,7 +805,7 @@ |
907
|
<div class="panel panel-default">
|
805
|
<div class="panel panel-default">
|
908
|
<div class="panel-heading"><strong>参数</strong></div>
|
806
|
<div class="panel-heading"><strong>参数</strong></div>
|
909
|
<div class="panel-body">
|
807
|
<div class="panel-body">
|
910
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/index" method="get" name="form5" id="form5">
|
808
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/refresh" method="get" name="form5" id="form5">
|
911
|
<div class="form-group">
|
809
|
<div class="form-group">
|
912
|
无
|
810
|
无
|
913
|
</div>
|
811
|
</div>
|
|
@@ -951,13 +849,13 @@ |
|
@@ -951,13 +849,13 @@ |
951
|
</div>
|
849
|
</div>
|
952
|
</div>
|
850
|
</div>
|
953
|
</div>
|
851
|
</div>
|
954
|
- <h2>Token接口</h2>
|
852
|
+ <h2>个人中心</h2>
|
955
|
<hr>
|
853
|
<hr>
|
956
|
<div class="panel panel-default">
|
854
|
<div class="panel panel-default">
|
957
|
<div class="panel-heading" id="heading-6">
|
855
|
<div class="panel-heading" id="heading-6">
|
958
|
<h4 class="panel-title">
|
856
|
<h4 class="panel-title">
|
959
|
- <span class="label label-success">GET</span>
|
|
|
960
|
- <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 检测Token是否过期 <span class="text-muted">/api/token/check</span></a>
|
857
|
+ <span class="label label-primary">POST</span>
|
|
|
858
|
+ <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
|
961
|
</h4>
|
859
|
</h4>
|
962
|
</div>
|
860
|
</div>
|
963
|
<div id="collapseOne6" class="panel-collapse collapse">
|
861
|
<div id="collapseOne6" class="panel-collapse collapse">
|
|
@@ -975,7 +873,7 @@ |
|
@@ -975,7 +873,7 @@ |
975
|
|
873
|
|
976
|
<div class="tab-pane active" id="info6">
|
874
|
<div class="tab-pane active" id="info6">
|
977
|
<div class="well">
|
875
|
<div class="well">
|
978
|
- 检测Token是否过期 </div>
|
876
|
+ 小程序登录 </div>
|
979
|
<div class="panel panel-default">
|
877
|
<div class="panel panel-default">
|
980
|
<div class="panel-heading"><strong>Headers</strong></div>
|
878
|
<div class="panel-heading"><strong>Headers</strong></div>
|
981
|
<div class="panel-body">
|
879
|
<div class="panel-body">
|
|
@@ -985,7 +883,36 @@ |
|
@@ -985,7 +883,36 @@ |
985
|
<div class="panel panel-default">
|
883
|
<div class="panel panel-default">
|
986
|
<div class="panel-heading"><strong>参数</strong></div>
|
884
|
<div class="panel-heading"><strong>参数</strong></div>
|
987
|
<div class="panel-body">
|
885
|
<div class="panel-body">
|
988
|
- 无
|
886
|
+ <table class="table table-hover">
|
|
|
887
|
+ <thead>
|
|
|
888
|
+ <tr>
|
|
|
889
|
+ <th>名称</th>
|
|
|
890
|
+ <th>类型</th>
|
|
|
891
|
+ <th>必选</th>
|
|
|
892
|
+ <th>描述</th>
|
|
|
893
|
+ </tr>
|
|
|
894
|
+ </thead>
|
|
|
895
|
+ <tbody>
|
|
|
896
|
+ <tr>
|
|
|
897
|
+ <td>code</td>
|
|
|
898
|
+ <td>string</td>
|
|
|
899
|
+ <td>是</td>
|
|
|
900
|
+ <td>小程序code</td>
|
|
|
901
|
+ </tr>
|
|
|
902
|
+ <tr>
|
|
|
903
|
+ <td>nickname</td>
|
|
|
904
|
+ <td>string</td>
|
|
|
905
|
+ <td>是</td>
|
|
|
906
|
+ <td>小程序昵称</td>
|
|
|
907
|
+ </tr>
|
|
|
908
|
+ <tr>
|
|
|
909
|
+ <td>avatar</td>
|
|
|
910
|
+ <td>string</td>
|
|
|
911
|
+ <td>是</td>
|
|
|
912
|
+ <td>小程序头像</td>
|
|
|
913
|
+ </tr>
|
|
|
914
|
+ </tbody>
|
|
|
915
|
+ </table>
|
989
|
</div>
|
916
|
</div>
|
990
|
</div>
|
917
|
</div>
|
991
|
<div class="panel panel-default">
|
918
|
<div class="panel panel-default">
|
|
@@ -1001,9 +928,18 @@ |
|
@@ -1001,9 +928,18 @@ |
1001
|
<div class="panel panel-default">
|
928
|
<div class="panel panel-default">
|
1002
|
<div class="panel-heading"><strong>参数</strong></div>
|
929
|
<div class="panel-heading"><strong>参数</strong></div>
|
1003
|
<div class="panel-body">
|
930
|
<div class="panel-body">
|
1004
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/check" method="get" name="form6" id="form6">
|
931
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form6" id="form6">
|
1005
|
<div class="form-group">
|
932
|
<div class="form-group">
|
1006
|
- 无
|
933
|
+ <label class="control-label" for="code">code</label>
|
|
|
934
|
+ <input type="string" class="form-control input-sm" id="code" required placeholder="小程序code" name="code">
|
|
|
935
|
+ </div>
|
|
|
936
|
+ <div class="form-group">
|
|
|
937
|
+ <label class="control-label" for="nickname">nickname</label>
|
|
|
938
|
+ <input type="string" class="form-control input-sm" id="nickname" required placeholder="小程序昵称" name="nickname">
|
|
|
939
|
+ </div>
|
|
|
940
|
+ <div class="form-group">
|
|
|
941
|
+ <label class="control-label" for="avatar">avatar</label>
|
|
|
942
|
+ <input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar">
|
1007
|
</div>
|
943
|
</div>
|
1008
|
<div class="form-group">
|
944
|
<div class="form-group">
|
1009
|
<button type="submit" class="btn btn-success send" rel="6">提交</button>
|
945
|
<button type="submit" class="btn btn-success send" rel="6">提交</button>
|
|
@@ -1036,7 +972,18 @@ |
|
@@ -1036,7 +972,18 @@ |
1036
|
<div class="tab-pane" id="sample6">
|
972
|
<div class="tab-pane" id="sample6">
|
1037
|
<div class="row">
|
973
|
<div class="row">
|
1038
|
<div class="col-md-12">
|
974
|
<div class="col-md-12">
|
1039
|
- <pre id="sample_response6">无</pre>
|
975
|
+ <pre id="sample_response6">{
|
|
|
976
|
+ "code": 1,
|
|
|
977
|
+ "msg": "登录成功",
|
|
|
978
|
+ "time": "1553839125",
|
|
|
979
|
+ "data": {
|
|
|
980
|
+ "token": "677afb39-1a4f-4492-84d3-0bcf32016b8a",//token
|
|
|
981
|
+ "user_id": 27,//用户id
|
|
|
982
|
+ "createtime": 1553839125,//登录时间
|
|
|
983
|
+ "expiretime": 1556431125,//token失效时间
|
|
|
984
|
+ "expires_in": 2592000//token失效剩余时间(单位s)
|
|
|
985
|
+ "openid": 1485212522522//openid
|
|
|
986
|
+ }</pre>
|
1040
|
</div>
|
987
|
</div>
|
1041
|
</div>
|
988
|
</div>
|
1042
|
</div><!-- #sample -->
|
989
|
</div><!-- #sample -->
|
|
@@ -1048,8 +995,8 @@ |
|
@@ -1048,8 +995,8 @@ |
1048
|
<div class="panel panel-default">
|
995
|
<div class="panel panel-default">
|
1049
|
<div class="panel-heading" id="heading-7">
|
996
|
<div class="panel-heading" id="heading-7">
|
1050
|
<h4 class="panel-title">
|
997
|
<h4 class="panel-title">
|
1051
|
- <span class="label label-success">GET</span>
|
|
|
1052
|
- <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 刷新Token <span class="text-muted">/api/token/refresh</span></a>
|
998
|
+ <span class="label label-primary">POST</span>
|
|
|
999
|
+ <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
1053
|
</h4>
|
1000
|
</h4>
|
1054
|
</div>
|
1001
|
</div>
|
1055
|
<div id="collapseOne7" class="panel-collapse collapse">
|
1002
|
<div id="collapseOne7" class="panel-collapse collapse">
|
|
@@ -1067,11 +1014,28 @@ |
|
@@ -1067,11 +1014,28 @@ |
1067
|
|
1014
|
|
1068
|
<div class="tab-pane active" id="info7">
|
1015
|
<div class="tab-pane active" id="info7">
|
1069
|
<div class="well">
|
1016
|
<div class="well">
|
1070
|
- 刷新Token </div>
|
1017
|
+ 首页视频、图片、精美大片入口 </div>
|
1071
|
<div class="panel panel-default">
|
1018
|
<div class="panel panel-default">
|
1072
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1019
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1073
|
<div class="panel-body">
|
1020
|
<div class="panel-body">
|
1074
|
- 无
|
1021
|
+ <table class="table table-hover">
|
|
|
1022
|
+ <thead>
|
|
|
1023
|
+ <tr>
|
|
|
1024
|
+ <th>名称</th>
|
|
|
1025
|
+ <th>类型</th>
|
|
|
1026
|
+ <th>必选</th>
|
|
|
1027
|
+ <th>描述</th>
|
|
|
1028
|
+ </tr>
|
|
|
1029
|
+ </thead>
|
|
|
1030
|
+ <tbody>
|
|
|
1031
|
+ <tr>
|
|
|
1032
|
+ <td>token</td>
|
|
|
1033
|
+ <td>string</td>
|
|
|
1034
|
+ <td>是</td>
|
|
|
1035
|
+ <td>请求的Token</td>
|
|
|
1036
|
+ </tr>
|
|
|
1037
|
+ </tbody>
|
|
|
1038
|
+ </table>
|
1075
|
</div>
|
1039
|
</div>
|
1076
|
</div>
|
1040
|
</div>
|
1077
|
<div class="panel panel-default">
|
1041
|
<div class="panel panel-default">
|
|
@@ -1091,9 +1055,20 @@ |
|
@@ -1091,9 +1055,20 @@ |
1091
|
<div class="row">
|
1055
|
<div class="row">
|
1092
|
<div class="col-md-12">
|
1056
|
<div class="col-md-12">
|
1093
|
<div class="panel panel-default">
|
1057
|
<div class="panel panel-default">
|
|
|
1058
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
1059
|
+ <div class="panel-body">
|
|
|
1060
|
+ <div class="headers">
|
|
|
1061
|
+ <div class="form-group">
|
|
|
1062
|
+ <label class="control-label" for="token">token</label>
|
|
|
1063
|
+ <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
1064
|
+ </div>
|
|
|
1065
|
+ </div>
|
|
|
1066
|
+ </div>
|
|
|
1067
|
+ </div>
|
|
|
1068
|
+ <div class="panel panel-default">
|
1094
|
<div class="panel-heading"><strong>参数</strong></div>
|
1069
|
<div class="panel-heading"><strong>参数</strong></div>
|
1095
|
<div class="panel-body">
|
1070
|
<div class="panel-body">
|
1096
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/refresh" method="get" name="form7" id="form7">
|
1071
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form7" id="form7">
|
1097
|
<div class="form-group">
|
1072
|
<div class="form-group">
|
1098
|
无
|
1073
|
无
|
1099
|
</div>
|
1074
|
</div>
|
|
@@ -1128,7 +1103,16 @@ |
|
@@ -1128,7 +1103,16 @@ |
1128
|
<div class="tab-pane" id="sample7">
|
1103
|
<div class="tab-pane" id="sample7">
|
1129
|
<div class="row">
|
1104
|
<div class="row">
|
1130
|
<div class="col-md-12">
|
1105
|
<div class="col-md-12">
|
1131
|
- <pre id="sample_response7">无</pre>
|
1106
|
+ <pre id="sample_response7">{
|
|
|
1107
|
+ 'code':'1',
|
|
|
1108
|
+ 'msg':'返回成功',
|
|
|
1109
|
+ "time": "1571492001",
|
|
|
1110
|
+ "data": {
|
|
|
1111
|
+ "video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
1112
|
+ "pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
1113
|
+ "wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
|
|
1114
|
+ }
|
|
|
1115
|
+ }</pre>
|
1132
|
</div>
|
1116
|
</div>
|
1133
|
</div>
|
1117
|
</div>
|
1134
|
</div><!-- #sample -->
|
1118
|
</div><!-- #sample -->
|
|
@@ -1137,13 +1121,11 @@ |
|
@@ -1137,13 +1121,11 @@ |
1137
|
</div>
|
1121
|
</div>
|
1138
|
</div>
|
1122
|
</div>
|
1139
|
</div>
|
1123
|
</div>
|
1140
|
- <h2>个人中心</h2>
|
|
|
1141
|
- <hr>
|
|
|
1142
|
<div class="panel panel-default">
|
1124
|
<div class="panel panel-default">
|
1143
|
<div class="panel-heading" id="heading-8">
|
1125
|
<div class="panel-heading" id="heading-8">
|
1144
|
<h4 class="panel-title">
|
1126
|
<h4 class="panel-title">
|
1145
|
<span class="label label-primary">POST</span>
|
1127
|
<span class="label label-primary">POST</span>
|
1146
|
- <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
|
1128
|
+ <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 地区分类 <span class="text-muted">/api/user/type</span></a>
|
1147
|
</h4>
|
1129
|
</h4>
|
1148
|
</div>
|
1130
|
</div>
|
1149
|
<div id="collapseOne8" class="panel-collapse collapse">
|
1131
|
<div id="collapseOne8" class="panel-collapse collapse">
|
|
@@ -1161,16 +1143,10 @@ |
|
@@ -1161,16 +1143,10 @@ |
1161
|
|
1143
|
|
1162
|
<div class="tab-pane active" id="info8">
|
1144
|
<div class="tab-pane active" id="info8">
|
1163
|
<div class="well">
|
1145
|
<div class="well">
|
1164
|
- 小程序登录 </div>
|
1146
|
+ 地区分类 </div>
|
1165
|
<div class="panel panel-default">
|
1147
|
<div class="panel panel-default">
|
1166
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1148
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1167
|
<div class="panel-body">
|
1149
|
<div class="panel-body">
|
1168
|
- 无
|
|
|
1169
|
- </div>
|
|
|
1170
|
- </div>
|
|
|
1171
|
- <div class="panel panel-default">
|
|
|
1172
|
- <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1173
|
- <div class="panel-body">
|
|
|
1174
|
<table class="table table-hover">
|
1150
|
<table class="table table-hover">
|
1175
|
<thead>
|
1151
|
<thead>
|
1176
|
<tr>
|
1152
|
<tr>
|
|
@@ -1182,28 +1158,22 @@ |
|
@@ -1182,28 +1158,22 @@ |
1182
|
</thead>
|
1158
|
</thead>
|
1183
|
<tbody>
|
1159
|
<tbody>
|
1184
|
<tr>
|
1160
|
<tr>
|
1185
|
- <td>code</td>
|
|
|
1186
|
- <td>string</td>
|
|
|
1187
|
- <td>是</td>
|
|
|
1188
|
- <td>小程序code</td>
|
|
|
1189
|
- </tr>
|
|
|
1190
|
- <tr>
|
|
|
1191
|
- <td>nickname</td>
|
|
|
1192
|
- <td>string</td>
|
|
|
1193
|
- <td>是</td>
|
|
|
1194
|
- <td>小程序昵称</td>
|
|
|
1195
|
- </tr>
|
|
|
1196
|
- <tr>
|
|
|
1197
|
- <td>avatar</td>
|
1161
|
+ <td>token</td>
|
1198
|
<td>string</td>
|
1162
|
<td>string</td>
|
1199
|
<td>是</td>
|
1163
|
<td>是</td>
|
1200
|
- <td>小程序头像</td>
|
1164
|
+ <td>请求的Token</td>
|
1201
|
</tr>
|
1165
|
</tr>
|
1202
|
</tbody>
|
1166
|
</tbody>
|
1203
|
</table>
|
1167
|
</table>
|
1204
|
</div>
|
1168
|
</div>
|
1205
|
</div>
|
1169
|
</div>
|
1206
|
<div class="panel panel-default">
|
1170
|
<div class="panel panel-default">
|
|
|
1171
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1172
|
+ <div class="panel-body">
|
|
|
1173
|
+ 无
|
|
|
1174
|
+ </div>
|
|
|
1175
|
+ </div>
|
|
|
1176
|
+ <div class="panel panel-default">
|
1207
|
<div class="panel-heading"><strong>正文</strong></div>
|
1177
|
<div class="panel-heading"><strong>正文</strong></div>
|
1208
|
<div class="panel-body">
|
1178
|
<div class="panel-body">
|
1209
|
无 </div>
|
1179
|
无 </div>
|
|
@@ -1214,20 +1184,22 @@ |
|
@@ -1214,20 +1184,22 @@ |
1214
|
<div class="row">
|
1184
|
<div class="row">
|
1215
|
<div class="col-md-12">
|
1185
|
<div class="col-md-12">
|
1216
|
<div class="panel panel-default">
|
1186
|
<div class="panel panel-default">
|
1217
|
- <div class="panel-heading"><strong>参数</strong></div>
|
1187
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
1218
|
<div class="panel-body">
|
1188
|
<div class="panel-body">
|
1219
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form8" id="form8">
|
|
|
1220
|
- <div class="form-group">
|
|
|
1221
|
- <label class="control-label" for="code">code</label>
|
|
|
1222
|
- <input type="string" class="form-control input-sm" id="code" required placeholder="小程序code" name="code">
|
|
|
1223
|
- </div>
|
1189
|
+ <div class="headers">
|
1224
|
<div class="form-group">
|
1190
|
<div class="form-group">
|
1225
|
- <label class="control-label" for="nickname">nickname</label>
|
|
|
1226
|
- <input type="string" class="form-control input-sm" id="nickname" required placeholder="小程序昵称" name="nickname">
|
1191
|
+ <label class="control-label" for="token">token</label>
|
|
|
1192
|
+ <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
1227
|
</div>
|
1193
|
</div>
|
|
|
1194
|
+ </div>
|
|
|
1195
|
+ </div>
|
|
|
1196
|
+ </div>
|
|
|
1197
|
+ <div class="panel panel-default">
|
|
|
1198
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1199
|
+ <div class="panel-body">
|
|
|
1200
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/type" method="POST" name="form8" id="form8">
|
1228
|
<div class="form-group">
|
1201
|
<div class="form-group">
|
1229
|
- <label class="control-label" for="avatar">avatar</label>
|
|
|
1230
|
- <input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar">
|
1202
|
+ 无
|
1231
|
</div>
|
1203
|
</div>
|
1232
|
<div class="form-group">
|
1204
|
<div class="form-group">
|
1233
|
<button type="submit" class="btn btn-success send" rel="8">提交</button>
|
1205
|
<button type="submit" class="btn btn-success send" rel="8">提交</button>
|
|
@@ -1262,15 +1234,13 @@ |
|
@@ -1262,15 +1234,13 @@ |
1262
|
<div class="col-md-12">
|
1234
|
<div class="col-md-12">
|
1263
|
<pre id="sample_response8">{
|
1235
|
<pre id="sample_response8">{
|
1264
|
"code": 1,
|
1236
|
"code": 1,
|
1265
|
- "msg": "登录成功",
|
|
|
1266
|
- "time": "1553839125",
|
1237
|
+ "msg": "成功",
|
|
|
1238
|
+ "time": "1571492001",
|
1267
|
"data": {
|
1239
|
"data": {
|
1268
|
- "token": "677afb39-1a4f-4492-84d3-0bcf32016b8a",//token
|
|
|
1269
|
- "user_id": 27,//用户id
|
|
|
1270
|
- "createtime": 1553839125,//登录时间
|
|
|
1271
|
- "expiretime": 1556431125,//token失效时间
|
|
|
1272
|
- "expires_in": 2592000//token失效剩余时间(单位s)
|
|
|
1273
|
- "openid": 1485212522522//openid
|
1240
|
+ "id": 4,//分类id
|
|
|
1241
|
+ "area_name": //分类名称
|
|
|
1242
|
+ "thumbnail": //图片
|
|
|
1243
|
+ }
|
1274
|
}</pre>
|
1244
|
}</pre>
|
1275
|
</div>
|
1245
|
</div>
|
1276
|
</div>
|
1246
|
</div>
|
|
@@ -1284,7 +1254,7 @@ |
|
@@ -1284,7 +1254,7 @@ |
1284
|
<div class="panel-heading" id="heading-9">
|
1254
|
<div class="panel-heading" id="heading-9">
|
1285
|
<h4 class="panel-title">
|
1255
|
<h4 class="panel-title">
|
1286
|
<span class="label label-primary">POST</span>
|
1256
|
<span class="label label-primary">POST</span>
|
1287
|
- <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
1257
|
+ <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 搜索页 <span class="text-muted">/api/user/search</span></a>
|
1288
|
</h4>
|
1258
|
</h4>
|
1289
|
</div>
|
1259
|
</div>
|
1290
|
<div id="collapseOne9" class="panel-collapse collapse">
|
1260
|
<div id="collapseOne9" class="panel-collapse collapse">
|
|
@@ -1302,7 +1272,7 @@ |
|
@@ -1302,7 +1272,7 @@ |
1302
|
|
1272
|
|
1303
|
<div class="tab-pane active" id="info9">
|
1273
|
<div class="tab-pane active" id="info9">
|
1304
|
<div class="well">
|
1274
|
<div class="well">
|
1305
|
- 首页视频、图片、精美大片入口 </div>
|
1275
|
+ 搜索页 </div>
|
1306
|
<div class="panel panel-default">
|
1276
|
<div class="panel panel-default">
|
1307
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1277
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1308
|
<div class="panel-body">
|
1278
|
<div class="panel-body">
|
|
@@ -1329,7 +1299,30 @@ |
|
@@ -1329,7 +1299,30 @@ |
1329
|
<div class="panel panel-default">
|
1299
|
<div class="panel panel-default">
|
1330
|
<div class="panel-heading"><strong>参数</strong></div>
|
1300
|
<div class="panel-heading"><strong>参数</strong></div>
|
1331
|
<div class="panel-body">
|
1301
|
<div class="panel-body">
|
1332
|
- 无
|
1302
|
+ <table class="table table-hover">
|
|
|
1303
|
+ <thead>
|
|
|
1304
|
+ <tr>
|
|
|
1305
|
+ <th>名称</th>
|
|
|
1306
|
+ <th>类型</th>
|
|
|
1307
|
+ <th>必选</th>
|
|
|
1308
|
+ <th>描述</th>
|
|
|
1309
|
+ </tr>
|
|
|
1310
|
+ </thead>
|
|
|
1311
|
+ <tbody>
|
|
|
1312
|
+ <tr>
|
|
|
1313
|
+ <td>type_id</td>
|
|
|
1314
|
+ <td>inter</td>
|
|
|
1315
|
+ <td>否</td>
|
|
|
1316
|
+ <td>视频/图片 (视频为1 图片为2 精美大片为3)</td>
|
|
|
1317
|
+ </tr>
|
|
|
1318
|
+ <tr>
|
|
|
1319
|
+ <td>keyword</td>
|
|
|
1320
|
+ <td>string</td>
|
|
|
1321
|
+ <td>是</td>
|
|
|
1322
|
+ <td>关键字</td>
|
|
|
1323
|
+ </tr>
|
|
|
1324
|
+ </tbody>
|
|
|
1325
|
+ </table>
|
1333
|
</div>
|
1326
|
</div>
|
1334
|
</div>
|
1327
|
</div>
|
1335
|
<div class="panel panel-default">
|
1328
|
<div class="panel panel-default">
|
|
@@ -1356,9 +1349,14 @@ |
|
@@ -1356,9 +1349,14 @@ |
1356
|
<div class="panel panel-default">
|
1349
|
<div class="panel panel-default">
|
1357
|
<div class="panel-heading"><strong>参数</strong></div>
|
1350
|
<div class="panel-heading"><strong>参数</strong></div>
|
1358
|
<div class="panel-body">
|
1351
|
<div class="panel-body">
|
1359
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form9" id="form9">
|
1352
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/search" method="POST" name="form9" id="form9">
|
1360
|
<div class="form-group">
|
1353
|
<div class="form-group">
|
1361
|
- 无
|
1354
|
+ <label class="control-label" for="type_id">type_id</label>
|
|
|
1355
|
+ <input type="inter" class="form-control input-sm" id="type_id" placeholder="视频/图片 (视频为1 图片为2 精美大片为3)" name="type_id">
|
|
|
1356
|
+ </div>
|
|
|
1357
|
+ <div class="form-group">
|
|
|
1358
|
+ <label class="control-label" for="keyword">keyword</label>
|
|
|
1359
|
+ <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字" name="keyword">
|
1362
|
</div>
|
1360
|
</div>
|
1363
|
<div class="form-group">
|
1361
|
<div class="form-group">
|
1364
|
<button type="submit" class="btn btn-success send" rel="9">提交</button>
|
1362
|
<button type="submit" class="btn btn-success send" rel="9">提交</button>
|
|
@@ -1392,13 +1390,13 @@ |
|
@@ -1392,13 +1390,13 @@ |
1392
|
<div class="row">
|
1390
|
<div class="row">
|
1393
|
<div class="col-md-12">
|
1391
|
<div class="col-md-12">
|
1394
|
<pre id="sample_response9">{
|
1392
|
<pre id="sample_response9">{
|
1395
|
- 'code':'1',
|
|
|
1396
|
- 'msg':'返回成功',
|
|
|
1397
|
- "time": "1571492001",
|
1393
|
+ "code": 1,
|
|
|
1394
|
+ "msg": "成功",
|
|
|
1395
|
+ "time": "1571492001",
|
1398
|
"data": {
|
1396
|
"data": {
|
1399
|
- "video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
1400
|
- "pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
1401
|
- "wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
1397
|
+ "id": 4,//视频id/图片id,
|
|
|
1398
|
+ "thumbnail": //视频封面图地址/图片地址,
|
|
|
1399
|
+ "video": //视频路径/精美大片视频路径,
|
1402
|
}
|
1400
|
}
|
1403
|
}</pre>
|
1401
|
}</pre>
|
1404
|
</div>
|
1402
|
</div>
|
|
@@ -1413,7 +1411,7 @@ |
|
@@ -1413,7 +1411,7 @@ |
1413
|
<div class="panel-heading" id="heading-10">
|
1411
|
<div class="panel-heading" id="heading-10">
|
1414
|
<h4 class="panel-title">
|
1412
|
<h4 class="panel-title">
|
1415
|
<span class="label label-primary">POST</span>
|
1413
|
<span class="label label-primary">POST</span>
|
1416
|
- <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 地区分类 <span class="text-muted">/api/user/type</span></a>
|
1414
|
+ <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 图片列表 <span class="text-muted">/api/user/pic</span></a>
|
1417
|
</h4>
|
1415
|
</h4>
|
1418
|
</div>
|
1416
|
</div>
|
1419
|
<div id="collapseOne10" class="panel-collapse collapse">
|
1417
|
<div id="collapseOne10" class="panel-collapse collapse">
|
|
@@ -1431,7 +1429,7 @@ |
|
@@ -1431,7 +1429,7 @@ |
1431
|
|
1429
|
|
1432
|
<div class="tab-pane active" id="info10">
|
1430
|
<div class="tab-pane active" id="info10">
|
1433
|
<div class="well">
|
1431
|
<div class="well">
|
1434
|
- 地区分类 </div>
|
1432
|
+ 图片列表 </div>
|
1435
|
<div class="panel panel-default">
|
1433
|
<div class="panel panel-default">
|
1436
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1434
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1437
|
<div class="panel-body">
|
1435
|
<div class="panel-body">
|
|
@@ -1458,7 +1456,24 @@ |
|
@@ -1458,7 +1456,24 @@ |
1458
|
<div class="panel panel-default">
|
1456
|
<div class="panel panel-default">
|
1459
|
<div class="panel-heading"><strong>参数</strong></div>
|
1457
|
<div class="panel-heading"><strong>参数</strong></div>
|
1460
|
<div class="panel-body">
|
1458
|
<div class="panel-body">
|
1461
|
- 无
|
1459
|
+ <table class="table table-hover">
|
|
|
1460
|
+ <thead>
|
|
|
1461
|
+ <tr>
|
|
|
1462
|
+ <th>名称</th>
|
|
|
1463
|
+ <th>类型</th>
|
|
|
1464
|
+ <th>必选</th>
|
|
|
1465
|
+ <th>描述</th>
|
|
|
1466
|
+ </tr>
|
|
|
1467
|
+ </thead>
|
|
|
1468
|
+ <tbody>
|
|
|
1469
|
+ <tr>
|
|
|
1470
|
+ <td>type_id</td>
|
|
|
1471
|
+ <td>inter</td>
|
|
|
1472
|
+ <td>否</td>
|
|
|
1473
|
+ <td>地区ID</td>
|
|
|
1474
|
+ </tr>
|
|
|
1475
|
+ </tbody>
|
|
|
1476
|
+ </table>
|
1462
|
</div>
|
1477
|
</div>
|
1463
|
</div>
|
1478
|
</div>
|
1464
|
<div class="panel panel-default">
|
1479
|
<div class="panel panel-default">
|
|
@@ -1485,9 +1500,10 @@ |
|
@@ -1485,9 +1500,10 @@ |
1485
|
<div class="panel panel-default">
|
1500
|
<div class="panel panel-default">
|
1486
|
<div class="panel-heading"><strong>参数</strong></div>
|
1501
|
<div class="panel-heading"><strong>参数</strong></div>
|
1487
|
<div class="panel-body">
|
1502
|
<div class="panel-body">
|
1488
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/type" method="POST" name="form10" id="form10">
|
1503
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/pic" method="POST" name="form10" id="form10">
|
1489
|
<div class="form-group">
|
1504
|
<div class="form-group">
|
1490
|
- 无
|
1505
|
+ <label class="control-label" for="type_id">type_id</label>
|
|
|
1506
|
+ <input type="inter" class="form-control input-sm" id="type_id" placeholder="地区ID" name="type_id">
|
1491
|
</div>
|
1507
|
</div>
|
1492
|
<div class="form-group">
|
1508
|
<div class="form-group">
|
1493
|
<button type="submit" class="btn btn-success send" rel="10">提交</button>
|
1509
|
<button type="submit" class="btn btn-success send" rel="10">提交</button>
|
|
@@ -1525,10 +1541,9 @@ |
|
@@ -1525,10 +1541,9 @@ |
1525
|
"msg": "成功",
|
1541
|
"msg": "成功",
|
1526
|
"time": "1571492001",
|
1542
|
"time": "1571492001",
|
1527
|
"data": {
|
1543
|
"data": {
|
1528
|
- "id": 4,//分类id
|
|
|
1529
|
- "area_name": //分类名称
|
|
|
1530
|
- "thumbnail": //图片
|
|
|
1531
|
- }
|
1544
|
+ "id": 4,//图片id,
|
|
|
1545
|
+ "thumbnail": //缩略图,
|
|
|
1546
|
+ }
|
1532
|
}</pre>
|
1547
|
}</pre>
|
1533
|
</div>
|
1548
|
</div>
|
1534
|
</div>
|
1549
|
</div>
|
|
@@ -1542,7 +1557,7 @@ |
|
@@ -1542,7 +1557,7 @@ |
1542
|
<div class="panel-heading" id="heading-11">
|
1557
|
<div class="panel-heading" id="heading-11">
|
1543
|
<h4 class="panel-title">
|
1558
|
<h4 class="panel-title">
|
1544
|
<span class="label label-primary">POST</span>
|
1559
|
<span class="label label-primary">POST</span>
|
1545
|
- <a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 搜索页 <span class="text-muted">/api/user/search</span></a>
|
1560
|
+ <a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 视频列表 <span class="text-muted">/api/user/video</span></a>
|
1546
|
</h4>
|
1561
|
</h4>
|
1547
|
</div>
|
1562
|
</div>
|
1548
|
<div id="collapseOne11" class="panel-collapse collapse">
|
1563
|
<div id="collapseOne11" class="panel-collapse collapse">
|
|
@@ -1560,7 +1575,7 @@ |
|
@@ -1560,7 +1575,7 @@ |
1560
|
|
1575
|
|
1561
|
<div class="tab-pane active" id="info11">
|
1576
|
<div class="tab-pane active" id="info11">
|
1562
|
<div class="well">
|
1577
|
<div class="well">
|
1563
|
- 搜索页 </div>
|
1578
|
+ 视频列表 </div>
|
1564
|
<div class="panel panel-default">
|
1579
|
<div class="panel panel-default">
|
1565
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1580
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1566
|
<div class="panel-body">
|
1581
|
<div class="panel-body">
|
|
@@ -1601,13 +1616,7 @@ |
|
@@ -1601,13 +1616,7 @@ |
1601
|
<td>type_id</td>
|
1616
|
<td>type_id</td>
|
1602
|
<td>inter</td>
|
1617
|
<td>inter</td>
|
1603
|
<td>否</td>
|
1618
|
<td>否</td>
|
1604
|
- <td>视频/图片 (视频为1 图片为2 精美大片为3)</td>
|
|
|
1605
|
- </tr>
|
|
|
1606
|
- <tr>
|
|
|
1607
|
- <td>keyword</td>
|
|
|
1608
|
- <td>string</td>
|
|
|
1609
|
- <td>是</td>
|
|
|
1610
|
- <td>关键字</td>
|
1619
|
+ <td>地区ID</td>
|
1611
|
</tr>
|
1620
|
</tr>
|
1612
|
</tbody>
|
1621
|
</tbody>
|
1613
|
</table>
|
1622
|
</table>
|
|
@@ -1637,14 +1646,10 @@ |
|
@@ -1637,14 +1646,10 @@ |
1637
|
<div class="panel panel-default">
|
1646
|
<div class="panel panel-default">
|
1638
|
<div class="panel-heading"><strong>参数</strong></div>
|
1647
|
<div class="panel-heading"><strong>参数</strong></div>
|
1639
|
<div class="panel-body">
|
1648
|
<div class="panel-body">
|
1640
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/search" method="POST" name="form11" id="form11">
|
1649
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/video" method="POST" name="form11" id="form11">
|
1641
|
<div class="form-group">
|
1650
|
<div class="form-group">
|
1642
|
<label class="control-label" for="type_id">type_id</label>
|
1651
|
<label class="control-label" for="type_id">type_id</label>
|
1643
|
- <input type="inter" class="form-control input-sm" id="type_id" placeholder="视频/图片 (视频为1 图片为2 精美大片为3)" name="type_id">
|
|
|
1644
|
- </div>
|
|
|
1645
|
- <div class="form-group">
|
|
|
1646
|
- <label class="control-label" for="keyword">keyword</label>
|
|
|
1647
|
- <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字" name="keyword">
|
1652
|
+ <input type="inter" class="form-control input-sm" id="type_id" placeholder="地区ID" name="type_id">
|
1648
|
</div>
|
1653
|
</div>
|
1649
|
<div class="form-group">
|
1654
|
<div class="form-group">
|
1650
|
<button type="submit" class="btn btn-success send" rel="11">提交</button>
|
1655
|
<button type="submit" class="btn btn-success send" rel="11">提交</button>
|
|
@@ -1682,11 +1687,11 @@ |
|
@@ -1682,11 +1687,11 @@ |
1682
|
"msg": "成功",
|
1687
|
"msg": "成功",
|
1683
|
"time": "1571492001",
|
1688
|
"time": "1571492001",
|
1684
|
"data": {
|
1689
|
"data": {
|
1685
|
- "id": 4,//视频id/图片id,
|
|
|
1686
|
- "thumbnail": //视频封面图地址/图片地址,
|
|
|
1687
|
- "video": //视频路径/精美大片视频路径,
|
1690
|
+ "id": //图片id,
|
|
|
1691
|
+ "thumbnail": //视频封面,
|
|
|
1692
|
+ "video"://视频地址
|
1688
|
}
|
1693
|
}
|
1689
|
- }</pre>
|
1694
|
+ }</pre>
|
1690
|
</div>
|
1695
|
</div>
|
1691
|
</div>
|
1696
|
</div>
|
1692
|
</div><!-- #sample -->
|
1697
|
</div><!-- #sample -->
|
|
@@ -1699,7 +1704,7 @@ |
|
@@ -1699,7 +1704,7 @@ |
1699
|
<div class="panel-heading" id="heading-12">
|
1704
|
<div class="panel-heading" id="heading-12">
|
1700
|
<h4 class="panel-title">
|
1705
|
<h4 class="panel-title">
|
1701
|
<span class="label label-primary">POST</span>
|
1706
|
<span class="label label-primary">POST</span>
|
1702
|
- <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 图片列表 <span class="text-muted">/api/user/pic</span></a>
|
1707
|
+ <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 图片详情 <span class="text-muted">/api/user/picdetail</span></a>
|
1703
|
</h4>
|
1708
|
</h4>
|
1704
|
</div>
|
1709
|
</div>
|
1705
|
<div id="collapseOne12" class="panel-collapse collapse">
|
1710
|
<div id="collapseOne12" class="panel-collapse collapse">
|
|
@@ -1717,7 +1722,7 @@ |
|
@@ -1717,7 +1722,7 @@ |
1717
|
|
1722
|
|
1718
|
<div class="tab-pane active" id="info12">
|
1723
|
<div class="tab-pane active" id="info12">
|
1719
|
<div class="well">
|
1724
|
<div class="well">
|
1720
|
- 图片列表 </div>
|
1725
|
+ 图片详情 </div>
|
1721
|
<div class="panel panel-default">
|
1726
|
<div class="panel panel-default">
|
1722
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1727
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1723
|
<div class="panel-body">
|
1728
|
<div class="panel-body">
|
|
@@ -1755,10 +1760,10 @@ |
|
@@ -1755,10 +1760,10 @@ |
1755
|
</thead>
|
1760
|
</thead>
|
1756
|
<tbody>
|
1761
|
<tbody>
|
1757
|
<tr>
|
1762
|
<tr>
|
1758
|
- <td>type_id</td>
|
1763
|
+ <td>pic_id</td>
|
1759
|
<td>inter</td>
|
1764
|
<td>inter</td>
|
1760
|
- <td>否</td>
|
|
|
1761
|
- <td>地区ID</td>
|
1765
|
+ <td>是</td>
|
|
|
1766
|
+ <td>图片ID</td>
|
1762
|
</tr>
|
1767
|
</tr>
|
1763
|
</tbody>
|
1768
|
</tbody>
|
1764
|
</table>
|
1769
|
</table>
|
|
@@ -1788,10 +1793,10 @@ |
|
@@ -1788,10 +1793,10 @@ |
1788
|
<div class="panel panel-default">
|
1793
|
<div class="panel panel-default">
|
1789
|
<div class="panel-heading"><strong>参数</strong></div>
|
1794
|
<div class="panel-heading"><strong>参数</strong></div>
|
1790
|
<div class="panel-body">
|
1795
|
<div class="panel-body">
|
1791
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/pic" method="POST" name="form12" id="form12">
|
1796
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picdetail" method="POST" name="form12" id="form12">
|
1792
|
<div class="form-group">
|
1797
|
<div class="form-group">
|
1793
|
- <label class="control-label" for="type_id">type_id</label>
|
|
|
1794
|
- <input type="inter" class="form-control input-sm" id="type_id" placeholder="地区ID" name="type_id">
|
1798
|
+ <label class="control-label" for="pic_id">pic_id</label>
|
|
|
1799
|
+ <input type="inter" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
|
1795
|
</div>
|
1800
|
</div>
|
1796
|
<div class="form-group">
|
1801
|
<div class="form-group">
|
1797
|
<button type="submit" class="btn btn-success send" rel="12">提交</button>
|
1802
|
<button type="submit" class="btn btn-success send" rel="12">提交</button>
|
|
@@ -1825,13 +1830,20 @@ |
|
@@ -1825,13 +1830,20 @@ |
1825
|
<div class="row">
|
1830
|
<div class="row">
|
1826
|
<div class="col-md-12">
|
1831
|
<div class="col-md-12">
|
1827
|
<pre id="sample_response12">{
|
1832
|
<pre id="sample_response12">{
|
1828
|
- "code": 1,
|
|
|
1829
|
- "msg": "成功",
|
|
|
1830
|
- "time": "1571492001",
|
|
|
1831
|
- "data": {
|
|
|
1832
|
- "id": 4,//图片id,
|
|
|
1833
|
- "thumbnail": //缩略图,
|
|
|
1834
|
- }
|
1833
|
+ "code": 1,
|
|
|
1834
|
+ "msg": "成功",
|
|
|
1835
|
+ "time": "1571492001",
|
|
|
1836
|
+ "data": {
|
|
|
1837
|
+ "id": 4,//图片id,
|
|
|
1838
|
+ "title"://标题
|
|
|
1839
|
+ "thumbnail": //缩略图,
|
|
|
1840
|
+ "water_url": //小样带水印的图片地址,
|
|
|
1841
|
+ "price"://正常价格,
|
|
|
1842
|
+ "vip_price"://vip价格,
|
|
|
1843
|
+ "content"://图片介绍,
|
|
|
1844
|
+ "is_vip"://是否为会员(0否 1是)
|
|
|
1845
|
+
|
|
|
1846
|
+ }
|
1835
|
}</pre>
|
1847
|
}</pre>
|
1836
|
</div>
|
1848
|
</div>
|
1837
|
</div>
|
1849
|
</div>
|
|
@@ -1845,7 +1857,7 @@ |
|
@@ -1845,7 +1857,7 @@ |
1845
|
<div class="panel-heading" id="heading-13">
|
1857
|
<div class="panel-heading" id="heading-13">
|
1846
|
<h4 class="panel-title">
|
1858
|
<h4 class="panel-title">
|
1847
|
<span class="label label-primary">POST</span>
|
1859
|
<span class="label label-primary">POST</span>
|
1848
|
- <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> 图片详情 <span class="text-muted">/api/user/picdetail</span></a>
|
1860
|
+ <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> 视频详情 <span class="text-muted">/api/user/videodetail</span></a>
|
1849
|
</h4>
|
1861
|
</h4>
|
1850
|
</div>
|
1862
|
</div>
|
1851
|
<div id="collapseOne13" class="panel-collapse collapse">
|
1863
|
<div id="collapseOne13" class="panel-collapse collapse">
|
|
@@ -1863,7 +1875,7 @@ |
|
@@ -1863,7 +1875,7 @@ |
1863
|
|
1875
|
|
1864
|
<div class="tab-pane active" id="info13">
|
1876
|
<div class="tab-pane active" id="info13">
|
1865
|
<div class="well">
|
1877
|
<div class="well">
|
1866
|
- 图片详情 </div>
|
1878
|
+ 视频详情 </div>
|
1867
|
<div class="panel panel-default">
|
1879
|
<div class="panel panel-default">
|
1868
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1880
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1869
|
<div class="panel-body">
|
1881
|
<div class="panel-body">
|
|
@@ -1901,10 +1913,10 @@ |
|
@@ -1901,10 +1913,10 @@ |
1901
|
</thead>
|
1913
|
</thead>
|
1902
|
<tbody>
|
1914
|
<tbody>
|
1903
|
<tr>
|
1915
|
<tr>
|
1904
|
- <td>pic_id</td>
|
1916
|
+ <td>video_id</td>
|
1905
|
<td>inter</td>
|
1917
|
<td>inter</td>
|
1906
|
<td>是</td>
|
1918
|
<td>是</td>
|
1907
|
- <td>图片ID</td>
|
1919
|
+ <td>视频ID</td>
|
1908
|
</tr>
|
1920
|
</tr>
|
1909
|
</tbody>
|
1921
|
</tbody>
|
1910
|
</table>
|
1922
|
</table>
|
|
@@ -1934,10 +1946,10 @@ |
|
@@ -1934,10 +1946,10 @@ |
1934
|
<div class="panel panel-default">
|
1946
|
<div class="panel panel-default">
|
1935
|
<div class="panel-heading"><strong>参数</strong></div>
|
1947
|
<div class="panel-heading"><strong>参数</strong></div>
|
1936
|
<div class="panel-body">
|
1948
|
<div class="panel-body">
|
1937
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picdetail" method="POST" name="form13" id="form13">
|
1949
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/videodetail" method="POST" name="form13" id="form13">
|
1938
|
<div class="form-group">
|
1950
|
<div class="form-group">
|
1939
|
- <label class="control-label" for="pic_id">pic_id</label>
|
|
|
1940
|
- <input type="inter" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
|
1951
|
+ <label class="control-label" for="video_id">video_id</label>
|
|
|
1952
|
+ <input type="inter" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
1941
|
</div>
|
1953
|
</div>
|
1942
|
<div class="form-group">
|
1954
|
<div class="form-group">
|
1943
|
<button type="submit" class="btn btn-success send" rel="13">提交</button>
|
1955
|
<button type="submit" class="btn btn-success send" rel="13">提交</button>
|
|
@@ -1975,17 +1987,17 @@ |
|
@@ -1975,17 +1987,17 @@ |
1975
|
"msg": "成功",
|
1987
|
"msg": "成功",
|
1976
|
"time": "1571492001",
|
1988
|
"time": "1571492001",
|
1977
|
"data": {
|
1989
|
"data": {
|
1978
|
- "id": 4,//图片id,
|
1990
|
+ "id": 4,//视频id,
|
1979
|
"title"://标题
|
1991
|
"title"://标题
|
1980
|
- "thumbnail": //缩略图,
|
|
|
1981
|
- "water_url": //小样带水印的图片地址,
|
|
|
1982
|
- "price"://正常价格,
|
|
|
1983
|
- "vip_price"://vip价格,
|
|
|
1984
|
- "content"://图片介绍,
|
|
|
1985
|
- "is_vip"://是否为会员(0否 1是)
|
|
|
1986
|
-
|
1992
|
+ "thumbnail": //视频封面图,
|
|
|
1993
|
+ "video": //2K视频地址,
|
|
|
1994
|
+ "water_url"://小样视频网址
|
|
|
1995
|
+ "price"://2K价格,
|
|
|
1996
|
+ "vip_price"://2Kvip价格,
|
|
|
1997
|
+ "content"://图片介绍,
|
|
|
1998
|
+ "is_vip"://是否为会员(0否 1是)
|
1987
|
}
|
1999
|
}
|
1988
|
- }</pre>
|
2000
|
+ }</pre>
|
1989
|
</div>
|
2001
|
</div>
|
1990
|
</div>
|
2002
|
</div>
|
1991
|
</div><!-- #sample -->
|
2003
|
</div><!-- #sample -->
|
|
@@ -2128,7 +2140,7 @@ |
|
@@ -2128,7 +2140,7 @@ |
2128
|
|
2140
|
|
2129
|
<div class="row mt0 footer">
|
2141
|
<div class="row mt0 footer">
|
2130
|
<div class="col-md-6" align="left">
|
2142
|
<div class="col-md-6" align="left">
|
2131
|
- Generated on 2019-11-19 18:57:51 </div>
|
2143
|
+ Generated on 2019-11-19 19:24:34 </div>
|
2132
|
<div class="col-md-6" align="right">
|
2144
|
<div class="col-md-6" align="right">
|
2133
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
2145
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
2134
|
</div>
|
2146
|
</div>
|