|
@@ -162,15 +162,17 @@ |
|
@@ -162,15 +162,17 @@ |
162
|
<a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心 <i class="fa fa-caret-down"></i></a>
|
162
|
<a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心 <i class="fa fa-caret-down"></i></a>
|
163
|
<div class="child collapse" id="个人中心">
|
163
|
<div class="child collapse" id="个人中心">
|
164
|
<a href="javascript:;" data-id="11" class="list-group-item">小程序登录</a>
|
164
|
<a href="javascript:;" data-id="11" class="list-group-item">小程序登录</a>
|
165
|
- <a href="javascript:;" data-id="21" class="list-group-item">我的</a>
|
165
|
+ <a href="javascript:;" data-id="22" class="list-group-item">创建充值订单</a>
|
|
|
166
|
+ <a href="javascript:;" data-id="29" class="list-group-item">创建组合订单</a>
|
|
|
167
|
+ <a href="javascript:;" data-id="28" class="list-group-item">创建视频订单</a>
|
166
|
<a href="javascript:;" data-id="27" class="list-group-item">创建图片订单</a>
|
168
|
<a href="javascript:;" data-id="27" class="list-group-item">创建图片订单</a>
|
167
|
<a href="javascript:;" data-id="26" class="list-group-item">加入购物车</a>
|
169
|
<a href="javascript:;" data-id="26" class="list-group-item">加入购物车</a>
|
168
|
<a href="javascript:;" data-id="25" class="list-group-item">购物车列表</a>
|
170
|
<a href="javascript:;" data-id="25" class="list-group-item">购物车列表</a>
|
169
|
<a href="javascript:;" data-id="24" class="list-group-item">会员须知</a>
|
171
|
<a href="javascript:;" data-id="24" class="list-group-item">会员须知</a>
|
170
|
<a href="javascript:;" data-id="23" class="list-group-item">会员介绍</a>
|
172
|
<a href="javascript:;" data-id="23" class="list-group-item">会员介绍</a>
|
171
|
- <a href="javascript:;" data-id="22" class="list-group-item">创建充值订单</a>
|
|
|
172
|
- <a href="javascript:;" data-id="20" class="list-group-item">历史记录</a>
|
173
|
+ <a href="javascript:;" data-id="21" class="list-group-item">我的</a>
|
173
|
<a href="javascript:;" data-id="12" class="list-group-item">首页视频、图片、精美大片入口</a>
|
174
|
<a href="javascript:;" data-id="12" class="list-group-item">首页视频、图片、精美大片入口</a>
|
|
|
175
|
+ <a href="javascript:;" data-id="20" class="list-group-item">历史记录</a>
|
174
|
<a href="javascript:;" data-id="19" class="list-group-item">视频详情</a>
|
176
|
<a href="javascript:;" data-id="19" class="list-group-item">视频详情</a>
|
175
|
<a href="javascript:;" data-id="18" class="list-group-item">图片详情</a>
|
177
|
<a href="javascript:;" data-id="18" class="list-group-item">图片详情</a>
|
176
|
<a href="javascript:;" data-id="17" class="list-group-item">精美大片列表</a>
|
178
|
<a href="javascript:;" data-id="17" class="list-group-item">精美大片列表</a>
|
|
@@ -178,7 +180,7 @@ |
|
@@ -178,7 +180,7 @@ |
178
|
<a href="javascript:;" data-id="15" class="list-group-item">图片列表</a>
|
180
|
<a href="javascript:;" data-id="15" class="list-group-item">图片列表</a>
|
179
|
<a href="javascript:;" data-id="14" class="list-group-item">搜索页</a>
|
181
|
<a href="javascript:;" data-id="14" class="list-group-item">搜索页</a>
|
180
|
<a href="javascript:;" data-id="13" class="list-group-item">地区分类</a>
|
182
|
<a href="javascript:;" data-id="13" class="list-group-item">地区分类</a>
|
181
|
- <a href="javascript:;" data-id="28" class="list-group-item">创建视频订单</a>
|
183
|
+ <a href="javascript:;" data-id="30" class="list-group-item">我的订单</a>
|
182
|
</div>
|
184
|
</div>
|
183
|
</div>
|
185
|
</div>
|
184
|
</div>
|
186
|
</div>
|
|
@@ -1559,28 +1561,338 @@ |
|
@@ -1559,28 +1561,338 @@ |
1559
|
</div>
|
1561
|
</div>
|
1560
|
</div>
|
1562
|
</div>
|
1561
|
<div class="panel panel-default">
|
1563
|
<div class="panel panel-default">
|
1562
|
- <div class="panel-heading" id="heading-21">
|
1564
|
+ <div class="panel-heading" id="heading-22">
|
1563
|
<h4 class="panel-title">
|
1565
|
<h4 class="panel-title">
|
1564
|
<span class="label label-primary">POST</span>
|
1566
|
<span class="label label-primary">POST</span>
|
1565
|
- <a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 我的 <span class="text-muted">/api/user/mine</span></a>
|
1567
|
+ <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a>
|
1566
|
</h4>
|
1568
|
</h4>
|
1567
|
</div>
|
1569
|
</div>
|
1568
|
- <div id="collapseOne21" class="panel-collapse collapse">
|
1570
|
+ <div id="collapseOne22" class="panel-collapse collapse">
|
1569
|
<div class="panel-body">
|
1571
|
<div class="panel-body">
|
1570
|
|
1572
|
|
1571
|
<!-- Nav tabs -->
|
1573
|
<!-- Nav tabs -->
|
1572
|
- <ul class="nav nav-tabs" id="doctab21">
|
|
|
1573
|
- <li class="active"><a href="#info21" data-toggle="tab">基础信息</a></li>
|
|
|
1574
|
- <li><a href="#sandbox21" data-toggle="tab">在线测试</a></li>
|
|
|
1575
|
- <li><a href="#sample21" data-toggle="tab">返回示例</a></li>
|
1574
|
+ <ul class="nav nav-tabs" id="doctab22">
|
|
|
1575
|
+ <li class="active"><a href="#info22" data-toggle="tab">基础信息</a></li>
|
|
|
1576
|
+ <li><a href="#sandbox22" data-toggle="tab">在线测试</a></li>
|
|
|
1577
|
+ <li><a href="#sample22" data-toggle="tab">返回示例</a></li>
|
|
|
1578
|
+ </ul>
|
|
|
1579
|
+
|
|
|
1580
|
+ <!-- Tab panes -->
|
|
|
1581
|
+ <div class="tab-content">
|
|
|
1582
|
+
|
|
|
1583
|
+ <div class="tab-pane active" id="info22">
|
|
|
1584
|
+ <div class="well">
|
|
|
1585
|
+ 创建充值订单 </div>
|
|
|
1586
|
+ <div class="panel panel-default">
|
|
|
1587
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
1588
|
+ <div class="panel-body">
|
|
|
1589
|
+ <table class="table table-hover">
|
|
|
1590
|
+ <thead>
|
|
|
1591
|
+ <tr>
|
|
|
1592
|
+ <th>名称</th>
|
|
|
1593
|
+ <th>类型</th>
|
|
|
1594
|
+ <th>必选</th>
|
|
|
1595
|
+ <th>描述</th>
|
|
|
1596
|
+ </tr>
|
|
|
1597
|
+ </thead>
|
|
|
1598
|
+ <tbody>
|
|
|
1599
|
+ <tr>
|
|
|
1600
|
+ <td>token</td>
|
|
|
1601
|
+ <td>string</td>
|
|
|
1602
|
+ <td>是</td>
|
|
|
1603
|
+ <td>请求的Token</td>
|
|
|
1604
|
+ </tr>
|
|
|
1605
|
+ </tbody>
|
|
|
1606
|
+ </table>
|
|
|
1607
|
+ </div>
|
|
|
1608
|
+ </div>
|
|
|
1609
|
+ <div class="panel panel-default">
|
|
|
1610
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1611
|
+ <div class="panel-body">
|
|
|
1612
|
+ <table class="table table-hover">
|
|
|
1613
|
+ <thead>
|
|
|
1614
|
+ <tr>
|
|
|
1615
|
+ <th>名称</th>
|
|
|
1616
|
+ <th>类型</th>
|
|
|
1617
|
+ <th>必选</th>
|
|
|
1618
|
+ <th>描述</th>
|
|
|
1619
|
+ </tr>
|
|
|
1620
|
+ </thead>
|
|
|
1621
|
+ <tbody>
|
|
|
1622
|
+ <tr>
|
|
|
1623
|
+ <td>money</td>
|
|
|
1624
|
+ <td>float</td>
|
|
|
1625
|
+ <td>是</td>
|
|
|
1626
|
+ <td>充值金额</td>
|
|
|
1627
|
+ </tr>
|
|
|
1628
|
+ </tbody>
|
|
|
1629
|
+ </table>
|
|
|
1630
|
+ </div>
|
|
|
1631
|
+ </div>
|
|
|
1632
|
+ <div class="panel panel-default">
|
|
|
1633
|
+ <div class="panel-heading"><strong>正文</strong></div>
|
|
|
1634
|
+ <div class="panel-body">
|
|
|
1635
|
+ 无 </div>
|
|
|
1636
|
+ </div>
|
|
|
1637
|
+ </div><!-- #info -->
|
|
|
1638
|
+
|
|
|
1639
|
+ <div class="tab-pane" id="sandbox22">
|
|
|
1640
|
+ <div class="row">
|
|
|
1641
|
+ <div class="col-md-12">
|
|
|
1642
|
+ <div class="panel panel-default">
|
|
|
1643
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
1644
|
+ <div class="panel-body">
|
|
|
1645
|
+ <div class="headers">
|
|
|
1646
|
+ <div class="form-group">
|
|
|
1647
|
+ <label class="control-label" for="token">token</label>
|
|
|
1648
|
+ <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
1649
|
+ </div>
|
|
|
1650
|
+ </div>
|
|
|
1651
|
+ </div>
|
|
|
1652
|
+ </div>
|
|
|
1653
|
+ <div class="panel panel-default">
|
|
|
1654
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1655
|
+ <div class="panel-body">
|
|
|
1656
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/toporder" method="POST" name="form22" id="form22">
|
|
|
1657
|
+ <div class="form-group">
|
|
|
1658
|
+ <label class="control-label" for="money">money</label>
|
|
|
1659
|
+ <input type="float" class="form-control input-sm" id="money" required placeholder="充值金额" name="money">
|
|
|
1660
|
+ </div>
|
|
|
1661
|
+ <div class="form-group">
|
|
|
1662
|
+ <button type="submit" class="btn btn-success send" rel="22">提交</button>
|
|
|
1663
|
+ <button type="reset" class="btn btn-info" rel="22">重置</button>
|
|
|
1664
|
+ </div>
|
|
|
1665
|
+ </form>
|
|
|
1666
|
+ </div>
|
|
|
1667
|
+ </div>
|
|
|
1668
|
+ <div class="panel panel-default">
|
|
|
1669
|
+ <div class="panel-heading"><strong>响应输出</strong></div>
|
|
|
1670
|
+ <div class="panel-body">
|
|
|
1671
|
+ <div class="row">
|
|
|
1672
|
+ <div class="col-md-12" style="overflow-x:auto">
|
|
|
1673
|
+ <pre id="response_headers22"></pre>
|
|
|
1674
|
+ <pre id="response22"></pre>
|
|
|
1675
|
+ </div>
|
|
|
1676
|
+ </div>
|
|
|
1677
|
+ </div>
|
|
|
1678
|
+ </div>
|
|
|
1679
|
+ <div class="panel panel-default">
|
|
|
1680
|
+ <div class="panel-heading"><strong>返回参数</strong></div>
|
|
|
1681
|
+ <div class="panel-body">
|
|
|
1682
|
+ 无
|
|
|
1683
|
+ </div>
|
|
|
1684
|
+ </div>
|
|
|
1685
|
+ </div>
|
|
|
1686
|
+ </div>
|
|
|
1687
|
+ </div><!-- #sandbox -->
|
|
|
1688
|
+
|
|
|
1689
|
+ <div class="tab-pane" id="sample22">
|
|
|
1690
|
+ <div class="row">
|
|
|
1691
|
+ <div class="col-md-12">
|
|
|
1692
|
+ <pre id="sample_response22">{
|
|
|
1693
|
+ "code": 1,
|
|
|
1694
|
+ "msg": "成功",
|
|
|
1695
|
+ "time": "1571492001",
|
|
|
1696
|
+ "data": {
|
|
|
1697
|
+ "order_id"://订单ID
|
|
|
1698
|
+ }
|
|
|
1699
|
+ }</pre>
|
|
|
1700
|
+ </div>
|
|
|
1701
|
+ </div>
|
|
|
1702
|
+ </div><!-- #sample -->
|
|
|
1703
|
+
|
|
|
1704
|
+ </div><!-- .tab-content -->
|
|
|
1705
|
+ </div>
|
|
|
1706
|
+ </div>
|
|
|
1707
|
+ </div>
|
|
|
1708
|
+ <div class="panel panel-default">
|
|
|
1709
|
+ <div class="panel-heading" id="heading-29">
|
|
|
1710
|
+ <h4 class="panel-title">
|
|
|
1711
|
+ <span class="label label-primary">POST</span>
|
|
|
1712
|
+ <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 创建组合订单 <span class="text-muted">/api/user/orders</span></a>
|
|
|
1713
|
+ </h4>
|
|
|
1714
|
+ </div>
|
|
|
1715
|
+ <div id="collapseOne29" class="panel-collapse collapse">
|
|
|
1716
|
+ <div class="panel-body">
|
|
|
1717
|
+
|
|
|
1718
|
+ <!-- Nav tabs -->
|
|
|
1719
|
+ <ul class="nav nav-tabs" id="doctab29">
|
|
|
1720
|
+ <li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
|
|
|
1721
|
+ <li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
|
|
|
1722
|
+ <li><a href="#sample29" data-toggle="tab">返回示例</a></li>
|
|
|
1723
|
+ </ul>
|
|
|
1724
|
+
|
|
|
1725
|
+ <!-- Tab panes -->
|
|
|
1726
|
+ <div class="tab-content">
|
|
|
1727
|
+
|
|
|
1728
|
+ <div class="tab-pane active" id="info29">
|
|
|
1729
|
+ <div class="well">
|
|
|
1730
|
+ 创建组合订单 </div>
|
|
|
1731
|
+ <div class="panel panel-default">
|
|
|
1732
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
1733
|
+ <div class="panel-body">
|
|
|
1734
|
+ <table class="table table-hover">
|
|
|
1735
|
+ <thead>
|
|
|
1736
|
+ <tr>
|
|
|
1737
|
+ <th>名称</th>
|
|
|
1738
|
+ <th>类型</th>
|
|
|
1739
|
+ <th>必选</th>
|
|
|
1740
|
+ <th>描述</th>
|
|
|
1741
|
+ </tr>
|
|
|
1742
|
+ </thead>
|
|
|
1743
|
+ <tbody>
|
|
|
1744
|
+ <tr>
|
|
|
1745
|
+ <td>token</td>
|
|
|
1746
|
+ <td>string</td>
|
|
|
1747
|
+ <td>是</td>
|
|
|
1748
|
+ <td>请求的Token</td>
|
|
|
1749
|
+ </tr>
|
|
|
1750
|
+ </tbody>
|
|
|
1751
|
+ </table>
|
|
|
1752
|
+ </div>
|
|
|
1753
|
+ </div>
|
|
|
1754
|
+ <div class="panel panel-default">
|
|
|
1755
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1756
|
+ <div class="panel-body">
|
|
|
1757
|
+ <table class="table table-hover">
|
|
|
1758
|
+ <thead>
|
|
|
1759
|
+ <tr>
|
|
|
1760
|
+ <th>名称</th>
|
|
|
1761
|
+ <th>类型</th>
|
|
|
1762
|
+ <th>必选</th>
|
|
|
1763
|
+ <th>描述</th>
|
|
|
1764
|
+ </tr>
|
|
|
1765
|
+ </thead>
|
|
|
1766
|
+ <tbody>
|
|
|
1767
|
+ <tr>
|
|
|
1768
|
+ <td>video_id</td>
|
|
|
1769
|
+ <td>string</td>
|
|
|
1770
|
+ <td>是</td>
|
|
|
1771
|
+ <td>视频ID</td>
|
|
|
1772
|
+ </tr>
|
|
|
1773
|
+ <tr>
|
|
|
1774
|
+ <td>pic_id</td>
|
|
|
1775
|
+ <td>string</td>
|
|
|
1776
|
+ <td>是</td>
|
|
|
1777
|
+ <td>图片ID</td>
|
|
|
1778
|
+ </tr>
|
|
|
1779
|
+ <tr>
|
|
|
1780
|
+ <td>total</td>
|
|
|
1781
|
+ <td>float</td>
|
|
|
1782
|
+ <td>是</td>
|
|
|
1783
|
+ <td>价格</td>
|
|
|
1784
|
+ </tr>
|
|
|
1785
|
+ </tbody>
|
|
|
1786
|
+ </table>
|
|
|
1787
|
+ </div>
|
|
|
1788
|
+ </div>
|
|
|
1789
|
+ <div class="panel panel-default">
|
|
|
1790
|
+ <div class="panel-heading"><strong>正文</strong></div>
|
|
|
1791
|
+ <div class="panel-body">
|
|
|
1792
|
+ 无 </div>
|
|
|
1793
|
+ </div>
|
|
|
1794
|
+ </div><!-- #info -->
|
|
|
1795
|
+
|
|
|
1796
|
+ <div class="tab-pane" id="sandbox29">
|
|
|
1797
|
+ <div class="row">
|
|
|
1798
|
+ <div class="col-md-12">
|
|
|
1799
|
+ <div class="panel panel-default">
|
|
|
1800
|
+ <div class="panel-heading"><strong>Headers</strong></div>
|
|
|
1801
|
+ <div class="panel-body">
|
|
|
1802
|
+ <div class="headers">
|
|
|
1803
|
+ <div class="form-group">
|
|
|
1804
|
+ <label class="control-label" for="token">token</label>
|
|
|
1805
|
+ <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
1806
|
+ </div>
|
|
|
1807
|
+ </div>
|
|
|
1808
|
+ </div>
|
|
|
1809
|
+ </div>
|
|
|
1810
|
+ <div class="panel panel-default">
|
|
|
1811
|
+ <div class="panel-heading"><strong>参数</strong></div>
|
|
|
1812
|
+ <div class="panel-body">
|
|
|
1813
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/orders" method="POST" name="form29" id="form29">
|
|
|
1814
|
+ <div class="form-group">
|
|
|
1815
|
+ <label class="control-label" for="video_id">video_id</label>
|
|
|
1816
|
+ <input type="string" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
|
|
1817
|
+ </div>
|
|
|
1818
|
+ <div class="form-group">
|
|
|
1819
|
+ <label class="control-label" for="pic_id">pic_id</label>
|
|
|
1820
|
+ <input type="string" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
|
|
|
1821
|
+ </div>
|
|
|
1822
|
+ <div class="form-group">
|
|
|
1823
|
+ <label class="control-label" for="total">total</label>
|
|
|
1824
|
+ <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
|
|
1825
|
+ </div>
|
|
|
1826
|
+ <div class="form-group">
|
|
|
1827
|
+ <button type="submit" class="btn btn-success send" rel="29">提交</button>
|
|
|
1828
|
+ <button type="reset" class="btn btn-info" rel="29">重置</button>
|
|
|
1829
|
+ </div>
|
|
|
1830
|
+ </form>
|
|
|
1831
|
+ </div>
|
|
|
1832
|
+ </div>
|
|
|
1833
|
+ <div class="panel panel-default">
|
|
|
1834
|
+ <div class="panel-heading"><strong>响应输出</strong></div>
|
|
|
1835
|
+ <div class="panel-body">
|
|
|
1836
|
+ <div class="row">
|
|
|
1837
|
+ <div class="col-md-12" style="overflow-x:auto">
|
|
|
1838
|
+ <pre id="response_headers29"></pre>
|
|
|
1839
|
+ <pre id="response29"></pre>
|
|
|
1840
|
+ </div>
|
|
|
1841
|
+ </div>
|
|
|
1842
|
+ </div>
|
|
|
1843
|
+ </div>
|
|
|
1844
|
+ <div class="panel panel-default">
|
|
|
1845
|
+ <div class="panel-heading"><strong>返回参数</strong></div>
|
|
|
1846
|
+ <div class="panel-body">
|
|
|
1847
|
+ 无
|
|
|
1848
|
+ </div>
|
|
|
1849
|
+ </div>
|
|
|
1850
|
+ </div>
|
|
|
1851
|
+ </div>
|
|
|
1852
|
+ </div><!-- #sandbox -->
|
|
|
1853
|
+
|
|
|
1854
|
+ <div class="tab-pane" id="sample29">
|
|
|
1855
|
+ <div class="row">
|
|
|
1856
|
+ <div class="col-md-12">
|
|
|
1857
|
+ <pre id="sample_response29">{
|
|
|
1858
|
+ "code": 1,
|
|
|
1859
|
+ "msg": "成功",
|
|
|
1860
|
+ "time": "1571492001",
|
|
|
1861
|
+ "data": {
|
|
|
1862
|
+ "order_id"://订单ID
|
|
|
1863
|
+ }
|
|
|
1864
|
+ }</pre>
|
|
|
1865
|
+ </div>
|
|
|
1866
|
+ </div>
|
|
|
1867
|
+ </div><!-- #sample -->
|
|
|
1868
|
+
|
|
|
1869
|
+ </div><!-- .tab-content -->
|
|
|
1870
|
+ </div>
|
|
|
1871
|
+ </div>
|
|
|
1872
|
+ </div>
|
|
|
1873
|
+ <div class="panel panel-default">
|
|
|
1874
|
+ <div class="panel-heading" id="heading-28">
|
|
|
1875
|
+ <h4 class="panel-title">
|
|
|
1876
|
+ <span class="label label-primary">POST</span>
|
|
|
1877
|
+ <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a>
|
|
|
1878
|
+ </h4>
|
|
|
1879
|
+ </div>
|
|
|
1880
|
+ <div id="collapseOne28" class="panel-collapse collapse">
|
|
|
1881
|
+ <div class="panel-body">
|
|
|
1882
|
+
|
|
|
1883
|
+ <!-- Nav tabs -->
|
|
|
1884
|
+ <ul class="nav nav-tabs" id="doctab28">
|
|
|
1885
|
+ <li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
|
|
|
1886
|
+ <li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
|
|
|
1887
|
+ <li><a href="#sample28" data-toggle="tab">返回示例</a></li>
|
1576
|
</ul>
|
1888
|
</ul>
|
1577
|
|
1889
|
|
1578
|
<!-- Tab panes -->
|
1890
|
<!-- Tab panes -->
|
1579
|
<div class="tab-content">
|
1891
|
<div class="tab-content">
|
1580
|
|
1892
|
|
1581
|
- <div class="tab-pane active" id="info21">
|
1893
|
+ <div class="tab-pane active" id="info28">
|
1582
|
<div class="well">
|
1894
|
<div class="well">
|
1583
|
- 我的 </div>
|
1895
|
+ 创建视频订单 </div>
|
1584
|
<div class="panel panel-default">
|
1896
|
<div class="panel panel-default">
|
1585
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1897
|
<div class="panel-heading"><strong>Headers</strong></div>
|
1586
|
<div class="panel-body">
|
1898
|
<div class="panel-body">
|
|
@@ -1607,7 +1919,30 @@ |
|
@@ -1607,7 +1919,30 @@ |
1607
|
<div class="panel panel-default">
|
1919
|
<div class="panel panel-default">
|
1608
|
<div class="panel-heading"><strong>参数</strong></div>
|
1920
|
<div class="panel-heading"><strong>参数</strong></div>
|
1609
|
<div class="panel-body">
|
1921
|
<div class="panel-body">
|
1610
|
- 无
|
1922
|
+ <table class="table table-hover">
|
|
|
1923
|
+ <thead>
|
|
|
1924
|
+ <tr>
|
|
|
1925
|
+ <th>名称</th>
|
|
|
1926
|
+ <th>类型</th>
|
|
|
1927
|
+ <th>必选</th>
|
|
|
1928
|
+ <th>描述</th>
|
|
|
1929
|
+ </tr>
|
|
|
1930
|
+ </thead>
|
|
|
1931
|
+ <tbody>
|
|
|
1932
|
+ <tr>
|
|
|
1933
|
+ <td>video_id</td>
|
|
|
1934
|
+ <td>inter</td>
|
|
|
1935
|
+ <td>是</td>
|
|
|
1936
|
+ <td>视频ID</td>
|
|
|
1937
|
+ </tr>
|
|
|
1938
|
+ <tr>
|
|
|
1939
|
+ <td>total</td>
|
|
|
1940
|
+ <td>float</td>
|
|
|
1941
|
+ <td>是</td>
|
|
|
1942
|
+ <td>价格</td>
|
|
|
1943
|
+ </tr>
|
|
|
1944
|
+ </tbody>
|
|
|
1945
|
+ </table>
|
1611
|
</div>
|
1946
|
</div>
|
1612
|
</div>
|
1947
|
</div>
|
1613
|
<div class="panel panel-default">
|
1948
|
<div class="panel panel-default">
|
|
@@ -1617,7 +1952,7 @@ |
|
@@ -1617,7 +1952,7 @@ |
1617
|
</div>
|
1952
|
</div>
|
1618
|
</div><!-- #info -->
|
1953
|
</div><!-- #info -->
|
1619
|
|
1954
|
|
1620
|
- <div class="tab-pane" id="sandbox21">
|
1955
|
+ <div class="tab-pane" id="sandbox28">
|
1621
|
<div class="row">
|
1956
|
<div class="row">
|
1622
|
<div class="col-md-12">
|
1957
|
<div class="col-md-12">
|
1623
|
<div class="panel panel-default">
|
1958
|
<div class="panel panel-default">
|
|
@@ -1634,13 +1969,18 @@ |
|
@@ -1634,13 +1969,18 @@ |
1634
|
<div class="panel panel-default">
|
1969
|
<div class="panel panel-default">
|
1635
|
<div class="panel-heading"><strong>参数</strong></div>
|
1970
|
<div class="panel-heading"><strong>参数</strong></div>
|
1636
|
<div class="panel-body">
|
1971
|
<div class="panel-body">
|
1637
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mine" method="POST" name="form21" id="form21">
|
1972
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/v_order" method="POST" name="form28" id="form28">
|
1638
|
<div class="form-group">
|
1973
|
<div class="form-group">
|
1639
|
- 无
|
1974
|
+ <label class="control-label" for="video_id">video_id</label>
|
|
|
1975
|
+ <input type="inter" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
1640
|
</div>
|
1976
|
</div>
|
1641
|
<div class="form-group">
|
1977
|
<div class="form-group">
|
1642
|
- <button type="submit" class="btn btn-success send" rel="21">提交</button>
|
|
|
1643
|
- <button type="reset" class="btn btn-info" rel="21">重置</button>
|
1978
|
+ <label class="control-label" for="total">total</label>
|
|
|
1979
|
+ <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
|
|
1980
|
+ </div>
|
|
|
1981
|
+ <div class="form-group">
|
|
|
1982
|
+ <button type="submit" class="btn btn-success send" rel="28">提交</button>
|
|
|
1983
|
+ <button type="reset" class="btn btn-info" rel="28">重置</button>
|
1644
|
</div>
|
1984
|
</div>
|
1645
|
</form>
|
1985
|
</form>
|
1646
|
</div>
|
1986
|
</div>
|
|
@@ -1650,8 +1990,8 @@ |
|
@@ -1650,8 +1990,8 @@ |
1650
|
<div class="panel-body">
|
1990
|
<div class="panel-body">
|
1651
|
<div class="row">
|
1991
|
<div class="row">
|
1652
|
<div class="col-md-12" style="overflow-x:auto">
|
1992
|
<div class="col-md-12" style="overflow-x:auto">
|
1653
|
- <pre id="response_headers21"></pre>
|
|
|
1654
|
- <pre id="response21"></pre>
|
1993
|
+ <pre id="response_headers28"></pre>
|
|
|
1994
|
+ <pre id="response28"></pre>
|
1655
|
</div>
|
1995
|
</div>
|
1656
|
</div>
|
1996
|
</div>
|
1657
|
</div>
|
1997
|
</div>
|
|
@@ -1666,19 +2006,17 @@ |
|
@@ -1666,19 +2006,17 @@ |
1666
|
</div>
|
2006
|
</div>
|
1667
|
</div><!-- #sandbox -->
|
2007
|
</div><!-- #sandbox -->
|
1668
|
|
2008
|
|
1669
|
- <div class="tab-pane" id="sample21">
|
2009
|
+ <div class="tab-pane" id="sample28">
|
1670
|
<div class="row">
|
2010
|
<div class="row">
|
1671
|
<div class="col-md-12">
|
2011
|
<div class="col-md-12">
|
1672
|
- <pre id="sample_response21">{
|
2012
|
+ <pre id="sample_response28">{
|
1673
|
"code": 1,
|
2013
|
"code": 1,
|
1674
|
"msg": "成功",
|
2014
|
"msg": "成功",
|
1675
|
"time": "1571492001",
|
2015
|
"time": "1571492001",
|
1676
|
"data": {
|
2016
|
"data": {
|
1677
|
- "id": //用户ID
|
|
|
1678
|
- "nickname": //昵称,
|
|
|
1679
|
- "avatar": //头像,
|
|
|
1680
|
- "money" : //余额
|
|
|
1681
|
- "is_vip": //是否为会员(0否 1是</pre>
|
2017
|
+ "order_id"://订单ID
|
|
|
2018
|
+ }
|
|
|
2019
|
+ }</pre>
|
1682
|
</div>
|
2020
|
</div>
|
1683
|
</div>
|
2021
|
</div>
|
1684
|
</div><!-- #sample -->
|
2022
|
</div><!-- #sample -->
|
|
@@ -2402,28 +2740,28 @@ |
|
@@ -2402,28 +2740,28 @@ |
2402
|
</div>
|
2740
|
</div>
|
2403
|
</div>
|
2741
|
</div>
|
2404
|
<div class="panel panel-default">
|
2742
|
<div class="panel panel-default">
|
2405
|
- <div class="panel-heading" id="heading-22">
|
2743
|
+ <div class="panel-heading" id="heading-21">
|
2406
|
<h4 class="panel-title">
|
2744
|
<h4 class="panel-title">
|
2407
|
<span class="label label-primary">POST</span>
|
2745
|
<span class="label label-primary">POST</span>
|
2408
|
- <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a>
|
2746
|
+ <a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 我的 <span class="text-muted">/api/user/mine</span></a>
|
2409
|
</h4>
|
2747
|
</h4>
|
2410
|
</div>
|
2748
|
</div>
|
2411
|
- <div id="collapseOne22" class="panel-collapse collapse">
|
2749
|
+ <div id="collapseOne21" class="panel-collapse collapse">
|
2412
|
<div class="panel-body">
|
2750
|
<div class="panel-body">
|
2413
|
|
2751
|
|
2414
|
<!-- Nav tabs -->
|
2752
|
<!-- Nav tabs -->
|
2415
|
- <ul class="nav nav-tabs" id="doctab22">
|
|
|
2416
|
- <li class="active"><a href="#info22" data-toggle="tab">基础信息</a></li>
|
|
|
2417
|
- <li><a href="#sandbox22" data-toggle="tab">在线测试</a></li>
|
|
|
2418
|
- <li><a href="#sample22" data-toggle="tab">返回示例</a></li>
|
2753
|
+ <ul class="nav nav-tabs" id="doctab21">
|
|
|
2754
|
+ <li class="active"><a href="#info21" data-toggle="tab">基础信息</a></li>
|
|
|
2755
|
+ <li><a href="#sandbox21" data-toggle="tab">在线测试</a></li>
|
|
|
2756
|
+ <li><a href="#sample21" data-toggle="tab">返回示例</a></li>
|
2419
|
</ul>
|
2757
|
</ul>
|
2420
|
|
2758
|
|
2421
|
<!-- Tab panes -->
|
2759
|
<!-- Tab panes -->
|
2422
|
<div class="tab-content">
|
2760
|
<div class="tab-content">
|
2423
|
|
2761
|
|
2424
|
- <div class="tab-pane active" id="info22">
|
2762
|
+ <div class="tab-pane active" id="info21">
|
2425
|
<div class="well">
|
2763
|
<div class="well">
|
2426
|
- 创建充值订单 </div>
|
2764
|
+ 我的 </div>
|
2427
|
<div class="panel panel-default">
|
2765
|
<div class="panel panel-default">
|
2428
|
<div class="panel-heading"><strong>Headers</strong></div>
|
2766
|
<div class="panel-heading"><strong>Headers</strong></div>
|
2429
|
<div class="panel-body">
|
2767
|
<div class="panel-body">
|
|
@@ -2450,24 +2788,7 @@ |
|
@@ -2450,24 +2788,7 @@ |
2450
|
<div class="panel panel-default">
|
2788
|
<div class="panel panel-default">
|
2451
|
<div class="panel-heading"><strong>参数</strong></div>
|
2789
|
<div class="panel-heading"><strong>参数</strong></div>
|
2452
|
<div class="panel-body">
|
2790
|
<div class="panel-body">
|
2453
|
- <table class="table table-hover">
|
|
|
2454
|
- <thead>
|
|
|
2455
|
- <tr>
|
|
|
2456
|
- <th>名称</th>
|
|
|
2457
|
- <th>类型</th>
|
|
|
2458
|
- <th>必选</th>
|
|
|
2459
|
- <th>描述</th>
|
|
|
2460
|
- </tr>
|
|
|
2461
|
- </thead>
|
|
|
2462
|
- <tbody>
|
|
|
2463
|
- <tr>
|
|
|
2464
|
- <td>money</td>
|
|
|
2465
|
- <td>float</td>
|
|
|
2466
|
- <td>是</td>
|
|
|
2467
|
- <td>充值金额</td>
|
|
|
2468
|
- </tr>
|
|
|
2469
|
- </tbody>
|
|
|
2470
|
- </table>
|
2791
|
+ 无
|
2471
|
</div>
|
2792
|
</div>
|
2472
|
</div>
|
2793
|
</div>
|
2473
|
<div class="panel panel-default">
|
2794
|
<div class="panel panel-default">
|
|
@@ -2477,7 +2798,7 @@ |
|
@@ -2477,7 +2798,7 @@ |
2477
|
</div>
|
2798
|
</div>
|
2478
|
</div><!-- #info -->
|
2799
|
</div><!-- #info -->
|
2479
|
|
2800
|
|
2480
|
- <div class="tab-pane" id="sandbox22">
|
2801
|
+ <div class="tab-pane" id="sandbox21">
|
2481
|
<div class="row">
|
2802
|
<div class="row">
|
2482
|
<div class="col-md-12">
|
2803
|
<div class="col-md-12">
|
2483
|
<div class="panel panel-default">
|
2804
|
<div class="panel panel-default">
|
|
@@ -2494,14 +2815,13 @@ |
|
@@ -2494,14 +2815,13 @@ |
2494
|
<div class="panel panel-default">
|
2815
|
<div class="panel panel-default">
|
2495
|
<div class="panel-heading"><strong>参数</strong></div>
|
2816
|
<div class="panel-heading"><strong>参数</strong></div>
|
2496
|
<div class="panel-body">
|
2817
|
<div class="panel-body">
|
2497
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/toporder" method="POST" name="form22" id="form22">
|
2818
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mine" method="POST" name="form21" id="form21">
|
2498
|
<div class="form-group">
|
2819
|
<div class="form-group">
|
2499
|
- <label class="control-label" for="money">money</label>
|
|
|
2500
|
- <input type="float" class="form-control input-sm" id="money" required placeholder="充值金额" name="money">
|
2820
|
+ 无
|
2501
|
</div>
|
2821
|
</div>
|
2502
|
<div class="form-group">
|
2822
|
<div class="form-group">
|
2503
|
- <button type="submit" class="btn btn-success send" rel="22">提交</button>
|
|
|
2504
|
- <button type="reset" class="btn btn-info" rel="22">重置</button>
|
2823
|
+ <button type="submit" class="btn btn-success send" rel="21">提交</button>
|
|
|
2824
|
+ <button type="reset" class="btn btn-info" rel="21">重置</button>
|
2505
|
</div>
|
2825
|
</div>
|
2506
|
</form>
|
2826
|
</form>
|
2507
|
</div>
|
2827
|
</div>
|
|
@@ -2511,8 +2831,8 @@ |
|
@@ -2511,8 +2831,8 @@ |
2511
|
<div class="panel-body">
|
2831
|
<div class="panel-body">
|
2512
|
<div class="row">
|
2832
|
<div class="row">
|
2513
|
<div class="col-md-12" style="overflow-x:auto">
|
2833
|
<div class="col-md-12" style="overflow-x:auto">
|
2514
|
- <pre id="response_headers22"></pre>
|
|
|
2515
|
- <pre id="response22"></pre>
|
2834
|
+ <pre id="response_headers21"></pre>
|
|
|
2835
|
+ <pre id="response21"></pre>
|
2516
|
</div>
|
2836
|
</div>
|
2517
|
</div>
|
2837
|
</div>
|
2518
|
</div>
|
2838
|
</div>
|
|
@@ -2527,17 +2847,19 @@ |
|
@@ -2527,17 +2847,19 @@ |
2527
|
</div>
|
2847
|
</div>
|
2528
|
</div><!-- #sandbox -->
|
2848
|
</div><!-- #sandbox -->
|
2529
|
|
2849
|
|
2530
|
- <div class="tab-pane" id="sample22">
|
2850
|
+ <div class="tab-pane" id="sample21">
|
2531
|
<div class="row">
|
2851
|
<div class="row">
|
2532
|
<div class="col-md-12">
|
2852
|
<div class="col-md-12">
|
2533
|
- <pre id="sample_response22">{
|
2853
|
+ <pre id="sample_response21">{
|
2534
|
"code": 1,
|
2854
|
"code": 1,
|
2535
|
"msg": "成功",
|
2855
|
"msg": "成功",
|
2536
|
"time": "1571492001",
|
2856
|
"time": "1571492001",
|
2537
|
"data": {
|
2857
|
"data": {
|
2538
|
- "order_id"://订单ID
|
|
|
2539
|
- }
|
|
|
2540
|
- }</pre>
|
2858
|
+ "id": //用户ID
|
|
|
2859
|
+ "nickname": //昵称,
|
|
|
2860
|
+ "avatar": //头像,
|
|
|
2861
|
+ "money" : //余额
|
|
|
2862
|
+ "is_vip": //是否为会员(0否 1是</pre>
|
2541
|
</div>
|
2863
|
</div>
|
2542
|
</div>
|
2864
|
</div>
|
2543
|
</div><!-- #sample -->
|
2865
|
</div><!-- #sample -->
|
|
@@ -2547,28 +2869,28 @@ |
|
@@ -2547,28 +2869,28 @@ |
2547
|
</div>
|
2869
|
</div>
|
2548
|
</div>
|
2870
|
</div>
|
2549
|
<div class="panel panel-default">
|
2871
|
<div class="panel panel-default">
|
2550
|
- <div class="panel-heading" id="heading-20">
|
2872
|
+ <div class="panel-heading" id="heading-12">
|
2551
|
<h4 class="panel-title">
|
2873
|
<h4 class="panel-title">
|
2552
|
<span class="label label-primary">POST</span>
|
2874
|
<span class="label label-primary">POST</span>
|
2553
|
- <a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 历史记录 <span class="text-muted">/api/user/history</span></a>
|
2875
|
+ <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
2554
|
</h4>
|
2876
|
</h4>
|
2555
|
</div>
|
2877
|
</div>
|
2556
|
- <div id="collapseOne20" class="panel-collapse collapse">
|
2878
|
+ <div id="collapseOne12" class="panel-collapse collapse">
|
2557
|
<div class="panel-body">
|
2879
|
<div class="panel-body">
|
2558
|
|
2880
|
|
2559
|
<!-- Nav tabs -->
|
2881
|
<!-- Nav tabs -->
|
2560
|
- <ul class="nav nav-tabs" id="doctab20">
|
|
|
2561
|
- <li class="active"><a href="#info20" data-toggle="tab">基础信息</a></li>
|
|
|
2562
|
- <li><a href="#sandbox20" data-toggle="tab">在线测试</a></li>
|
|
|
2563
|
- <li><a href="#sample20" data-toggle="tab">返回示例</a></li>
|
2882
|
+ <ul class="nav nav-tabs" id="doctab12">
|
|
|
2883
|
+ <li class="active"><a href="#info12" data-toggle="tab">基础信息</a></li>
|
|
|
2884
|
+ <li><a href="#sandbox12" data-toggle="tab">在线测试</a></li>
|
|
|
2885
|
+ <li><a href="#sample12" data-toggle="tab">返回示例</a></li>
|
2564
|
</ul>
|
2886
|
</ul>
|
2565
|
|
2887
|
|
2566
|
<!-- Tab panes -->
|
2888
|
<!-- Tab panes -->
|
2567
|
<div class="tab-content">
|
2889
|
<div class="tab-content">
|
2568
|
|
2890
|
|
2569
|
- <div class="tab-pane active" id="info20">
|
2891
|
+ <div class="tab-pane active" id="info12">
|
2570
|
<div class="well">
|
2892
|
<div class="well">
|
2571
|
- 历史记录 </div>
|
2893
|
+ 首页视频、图片、精美大片入口 </div>
|
2572
|
<div class="panel panel-default">
|
2894
|
<div class="panel panel-default">
|
2573
|
<div class="panel-heading"><strong>Headers</strong></div>
|
2895
|
<div class="panel-heading"><strong>Headers</strong></div>
|
2574
|
<div class="panel-body">
|
2896
|
<div class="panel-body">
|
|
@@ -2605,7 +2927,7 @@ |
|
@@ -2605,7 +2927,7 @@ |
2605
|
</div>
|
2927
|
</div>
|
2606
|
</div><!-- #info -->
|
2928
|
</div><!-- #info -->
|
2607
|
|
2929
|
|
2608
|
- <div class="tab-pane" id="sandbox20">
|
2930
|
+ <div class="tab-pane" id="sandbox12">
|
2609
|
<div class="row">
|
2931
|
<div class="row">
|
2610
|
<div class="col-md-12">
|
2932
|
<div class="col-md-12">
|
2611
|
<div class="panel panel-default">
|
2933
|
<div class="panel panel-default">
|
|
@@ -2622,13 +2944,13 @@ |
|
@@ -2622,13 +2944,13 @@ |
2622
|
<div class="panel panel-default">
|
2944
|
<div class="panel panel-default">
|
2623
|
<div class="panel-heading"><strong>参数</strong></div>
|
2945
|
<div class="panel-heading"><strong>参数</strong></div>
|
2624
|
<div class="panel-body">
|
2946
|
<div class="panel-body">
|
2625
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/history" method="POST" name="form20" id="form20">
|
2947
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form12" id="form12">
|
2626
|
<div class="form-group">
|
2948
|
<div class="form-group">
|
2627
|
无
|
2949
|
无
|
2628
|
</div>
|
2950
|
</div>
|
2629
|
<div class="form-group">
|
2951
|
<div class="form-group">
|
2630
|
- <button type="submit" class="btn btn-success send" rel="20">提交</button>
|
|
|
2631
|
- <button type="reset" class="btn btn-info" rel="20">重置</button>
|
2952
|
+ <button type="submit" class="btn btn-success send" rel="12">提交</button>
|
|
|
2953
|
+ <button type="reset" class="btn btn-info" rel="12">重置</button>
|
2632
|
</div>
|
2954
|
</div>
|
2633
|
</form>
|
2955
|
</form>
|
2634
|
</div>
|
2956
|
</div>
|
|
@@ -2638,8 +2960,8 @@ |
|
@@ -2638,8 +2960,8 @@ |
2638
|
<div class="panel-body">
|
2960
|
<div class="panel-body">
|
2639
|
<div class="row">
|
2961
|
<div class="row">
|
2640
|
<div class="col-md-12" style="overflow-x:auto">
|
2962
|
<div class="col-md-12" style="overflow-x:auto">
|
2641
|
- <pre id="response_headers20"></pre>
|
|
|
2642
|
- <pre id="response20"></pre>
|
2963
|
+ <pre id="response_headers12"></pre>
|
|
|
2964
|
+ <pre id="response12"></pre>
|
2643
|
</div>
|
2965
|
</div>
|
2644
|
</div>
|
2966
|
</div>
|
2645
|
</div>
|
2967
|
</div>
|
|
@@ -2654,16 +2976,17 @@ |
|
@@ -2654,16 +2976,17 @@ |
2654
|
</div>
|
2976
|
</div>
|
2655
|
</div><!-- #sandbox -->
|
2977
|
</div><!-- #sandbox -->
|
2656
|
|
2978
|
|
2657
|
- <div class="tab-pane" id="sample20">
|
2979
|
+ <div class="tab-pane" id="sample12">
|
2658
|
<div class="row">
|
2980
|
<div class="row">
|
2659
|
<div class="col-md-12">
|
2981
|
<div class="col-md-12">
|
2660
|
- <pre id="sample_response20">{
|
|
|
2661
|
- "code": 1,
|
|
|
2662
|
- "msg": "成功",
|
2982
|
+ <pre id="sample_response12">{
|
|
|
2983
|
+ 'code':'1',
|
|
|
2984
|
+ 'msg':'返回成功',
|
2663
|
"time": "1571492001",
|
2985
|
"time": "1571492001",
|
2664
|
"data": {
|
2986
|
"data": {
|
2665
|
- "id": 4,//记录id,
|
|
|
2666
|
- "title"://搜索的内容
|
2987
|
+ "video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
2988
|
+ "pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
2989
|
+ "wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
2667
|
}
|
2990
|
}
|
2668
|
}</pre>
|
2991
|
}</pre>
|
2669
|
</div>
|
2992
|
</div>
|
|
@@ -2675,28 +2998,28 @@ |
|
@@ -2675,28 +2998,28 @@ |
2675
|
</div>
|
2998
|
</div>
|
2676
|
</div>
|
2999
|
</div>
|
2677
|
<div class="panel panel-default">
|
3000
|
<div class="panel panel-default">
|
2678
|
- <div class="panel-heading" id="heading-12">
|
3001
|
+ <div class="panel-heading" id="heading-20">
|
2679
|
<h4 class="panel-title">
|
3002
|
<h4 class="panel-title">
|
2680
|
<span class="label label-primary">POST</span>
|
3003
|
<span class="label label-primary">POST</span>
|
2681
|
- <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
3004
|
+ <a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 历史记录 <span class="text-muted">/api/user/history</span></a>
|
2682
|
</h4>
|
3005
|
</h4>
|
2683
|
</div>
|
3006
|
</div>
|
2684
|
- <div id="collapseOne12" class="panel-collapse collapse">
|
3007
|
+ <div id="collapseOne20" class="panel-collapse collapse">
|
2685
|
<div class="panel-body">
|
3008
|
<div class="panel-body">
|
2686
|
|
3009
|
|
2687
|
<!-- Nav tabs -->
|
3010
|
<!-- Nav tabs -->
|
2688
|
- <ul class="nav nav-tabs" id="doctab12">
|
|
|
2689
|
- <li class="active"><a href="#info12" data-toggle="tab">基础信息</a></li>
|
|
|
2690
|
- <li><a href="#sandbox12" data-toggle="tab">在线测试</a></li>
|
|
|
2691
|
- <li><a href="#sample12" data-toggle="tab">返回示例</a></li>
|
3011
|
+ <ul class="nav nav-tabs" id="doctab20">
|
|
|
3012
|
+ <li class="active"><a href="#info20" data-toggle="tab">基础信息</a></li>
|
|
|
3013
|
+ <li><a href="#sandbox20" data-toggle="tab">在线测试</a></li>
|
|
|
3014
|
+ <li><a href="#sample20" data-toggle="tab">返回示例</a></li>
|
2692
|
</ul>
|
3015
|
</ul>
|
2693
|
|
3016
|
|
2694
|
<!-- Tab panes -->
|
3017
|
<!-- Tab panes -->
|
2695
|
<div class="tab-content">
|
3018
|
<div class="tab-content">
|
2696
|
|
3019
|
|
2697
|
- <div class="tab-pane active" id="info12">
|
3020
|
+ <div class="tab-pane active" id="info20">
|
2698
|
<div class="well">
|
3021
|
<div class="well">
|
2699
|
- 首页视频、图片、精美大片入口 </div>
|
3022
|
+ 历史记录 </div>
|
2700
|
<div class="panel panel-default">
|
3023
|
<div class="panel panel-default">
|
2701
|
<div class="panel-heading"><strong>Headers</strong></div>
|
3024
|
<div class="panel-heading"><strong>Headers</strong></div>
|
2702
|
<div class="panel-body">
|
3025
|
<div class="panel-body">
|
|
@@ -2733,7 +3056,7 @@ |
|
@@ -2733,7 +3056,7 @@ |
2733
|
</div>
|
3056
|
</div>
|
2734
|
</div><!-- #info -->
|
3057
|
</div><!-- #info -->
|
2735
|
|
3058
|
|
2736
|
- <div class="tab-pane" id="sandbox12">
|
3059
|
+ <div class="tab-pane" id="sandbox20">
|
2737
|
<div class="row">
|
3060
|
<div class="row">
|
2738
|
<div class="col-md-12">
|
3061
|
<div class="col-md-12">
|
2739
|
<div class="panel panel-default">
|
3062
|
<div class="panel panel-default">
|
|
@@ -2750,13 +3073,13 @@ |
|
@@ -2750,13 +3073,13 @@ |
2750
|
<div class="panel panel-default">
|
3073
|
<div class="panel panel-default">
|
2751
|
<div class="panel-heading"><strong>参数</strong></div>
|
3074
|
<div class="panel-heading"><strong>参数</strong></div>
|
2752
|
<div class="panel-body">
|
3075
|
<div class="panel-body">
|
2753
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form12" id="form12">
|
3076
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/history" method="POST" name="form20" id="form20">
|
2754
|
<div class="form-group">
|
3077
|
<div class="form-group">
|
2755
|
无
|
3078
|
无
|
2756
|
</div>
|
3079
|
</div>
|
2757
|
<div class="form-group">
|
3080
|
<div class="form-group">
|
2758
|
- <button type="submit" class="btn btn-success send" rel="12">提交</button>
|
|
|
2759
|
- <button type="reset" class="btn btn-info" rel="12">重置</button>
|
3081
|
+ <button type="submit" class="btn btn-success send" rel="20">提交</button>
|
|
|
3082
|
+ <button type="reset" class="btn btn-info" rel="20">重置</button>
|
2760
|
</div>
|
3083
|
</div>
|
2761
|
</form>
|
3084
|
</form>
|
2762
|
</div>
|
3085
|
</div>
|
|
@@ -2766,8 +3089,8 @@ |
|
@@ -2766,8 +3089,8 @@ |
2766
|
<div class="panel-body">
|
3089
|
<div class="panel-body">
|
2767
|
<div class="row">
|
3090
|
<div class="row">
|
2768
|
<div class="col-md-12" style="overflow-x:auto">
|
3091
|
<div class="col-md-12" style="overflow-x:auto">
|
2769
|
- <pre id="response_headers12"></pre>
|
|
|
2770
|
- <pre id="response12"></pre>
|
3092
|
+ <pre id="response_headers20"></pre>
|
|
|
3093
|
+ <pre id="response20"></pre>
|
2771
|
</div>
|
3094
|
</div>
|
2772
|
</div>
|
3095
|
</div>
|
2773
|
</div>
|
3096
|
</div>
|
|
@@ -2782,17 +3105,16 @@ |
|
@@ -2782,17 +3105,16 @@ |
2782
|
</div>
|
3105
|
</div>
|
2783
|
</div><!-- #sandbox -->
|
3106
|
</div><!-- #sandbox -->
|
2784
|
|
3107
|
|
2785
|
- <div class="tab-pane" id="sample12">
|
3108
|
+ <div class="tab-pane" id="sample20">
|
2786
|
<div class="row">
|
3109
|
<div class="row">
|
2787
|
<div class="col-md-12">
|
3110
|
<div class="col-md-12">
|
2788
|
- <pre id="sample_response12">{
|
|
|
2789
|
- 'code':'1',
|
|
|
2790
|
- 'msg':'返回成功',
|
3111
|
+ <pre id="sample_response20">{
|
|
|
3112
|
+ "code": 1,
|
|
|
3113
|
+ "msg": "成功",
|
2791
|
"time": "1571492001",
|
3114
|
"time": "1571492001",
|
2792
|
"data": {
|
3115
|
"data": {
|
2793
|
- "video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
2794
|
- "pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
2795
|
- "wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
3116
|
+ "id": 4,//记录id,
|
|
|
3117
|
+ "title"://搜索的内容
|
2796
|
}
|
3118
|
}
|
2797
|
}</pre>
|
3119
|
}</pre>
|
2798
|
</div>
|
3120
|
</div>
|
|
@@ -3910,28 +4232,28 @@ |
|
@@ -3910,28 +4232,28 @@ |
3910
|
</div>
|
4232
|
</div>
|
3911
|
</div>
|
4233
|
</div>
|
3912
|
<div class="panel panel-default">
|
4234
|
<div class="panel panel-default">
|
3913
|
- <div class="panel-heading" id="heading-28">
|
4235
|
+ <div class="panel-heading" id="heading-30">
|
3914
|
<h4 class="panel-title">
|
4236
|
<h4 class="panel-title">
|
3915
|
<span class="label label-primary">POST</span>
|
4237
|
<span class="label label-primary">POST</span>
|
3916
|
- <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a>
|
4238
|
+ <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 我的订单 <span class="text-muted">/api/user/myorder</span></a>
|
3917
|
</h4>
|
4239
|
</h4>
|
3918
|
</div>
|
4240
|
</div>
|
3919
|
- <div id="collapseOne28" class="panel-collapse collapse">
|
4241
|
+ <div id="collapseOne30" class="panel-collapse collapse">
|
3920
|
<div class="panel-body">
|
4242
|
<div class="panel-body">
|
3921
|
|
4243
|
|
3922
|
<!-- Nav tabs -->
|
4244
|
<!-- Nav tabs -->
|
3923
|
- <ul class="nav nav-tabs" id="doctab28">
|
|
|
3924
|
- <li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
|
|
|
3925
|
- <li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
|
|
|
3926
|
- <li><a href="#sample28" data-toggle="tab">返回示例</a></li>
|
4245
|
+ <ul class="nav nav-tabs" id="doctab30">
|
|
|
4246
|
+ <li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
|
|
|
4247
|
+ <li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
|
|
|
4248
|
+ <li><a href="#sample30" data-toggle="tab">返回示例</a></li>
|
3927
|
</ul>
|
4249
|
</ul>
|
3928
|
|
4250
|
|
3929
|
<!-- Tab panes -->
|
4251
|
<!-- Tab panes -->
|
3930
|
<div class="tab-content">
|
4252
|
<div class="tab-content">
|
3931
|
|
4253
|
|
3932
|
- <div class="tab-pane active" id="info28">
|
4254
|
+ <div class="tab-pane active" id="info30">
|
3933
|
<div class="well">
|
4255
|
<div class="well">
|
3934
|
- 创建视频订单 </div>
|
4256
|
+ 我的订单 </div>
|
3935
|
<div class="panel panel-default">
|
4257
|
<div class="panel panel-default">
|
3936
|
<div class="panel-heading"><strong>Headers</strong></div>
|
4258
|
<div class="panel-heading"><strong>Headers</strong></div>
|
3937
|
<div class="panel-body">
|
4259
|
<div class="panel-body">
|
|
@@ -3969,16 +4291,10 @@ |
|
@@ -3969,16 +4291,10 @@ |
3969
|
</thead>
|
4291
|
</thead>
|
3970
|
<tbody>
|
4292
|
<tbody>
|
3971
|
<tr>
|
4293
|
<tr>
|
3972
|
- <td>video_id</td>
|
4294
|
+ <td>type</td>
|
3973
|
<td>inter</td>
|
4295
|
<td>inter</td>
|
3974
|
- <td>是</td>
|
|
|
3975
|
- <td>视频ID</td>
|
|
|
3976
|
- </tr>
|
|
|
3977
|
- <tr>
|
|
|
3978
|
- <td>total</td>
|
|
|
3979
|
- <td>float</td>
|
|
|
3980
|
- <td>是</td>
|
|
|
3981
|
- <td>价格</td>
|
4296
|
+ <td>否</td>
|
|
|
4297
|
+ <td>状态(不传默认为全部 1为待支付 2为已完成</td>
|
3982
|
</tr>
|
4298
|
</tr>
|
3983
|
</tbody>
|
4299
|
</tbody>
|
3984
|
</table>
|
4300
|
</table>
|
|
@@ -3991,7 +4307,7 @@ |
|
@@ -3991,7 +4307,7 @@ |
3991
|
</div>
|
4307
|
</div>
|
3992
|
</div><!-- #info -->
|
4308
|
</div><!-- #info -->
|
3993
|
|
4309
|
|
3994
|
- <div class="tab-pane" id="sandbox28">
|
4310
|
+ <div class="tab-pane" id="sandbox30">
|
3995
|
<div class="row">
|
4311
|
<div class="row">
|
3996
|
<div class="col-md-12">
|
4312
|
<div class="col-md-12">
|
3997
|
<div class="panel panel-default">
|
4313
|
<div class="panel panel-default">
|
|
@@ -4008,18 +4324,14 @@ |
|
@@ -4008,18 +4324,14 @@ |
4008
|
<div class="panel panel-default">
|
4324
|
<div class="panel panel-default">
|
4009
|
<div class="panel-heading"><strong>参数</strong></div>
|
4325
|
<div class="panel-heading"><strong>参数</strong></div>
|
4010
|
<div class="panel-body">
|
4326
|
<div class="panel-body">
|
4011
|
- <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/v_order" method="POST" name="form28" id="form28">
|
|
|
4012
|
- <div class="form-group">
|
|
|
4013
|
- <label class="control-label" for="video_id">video_id</label>
|
|
|
4014
|
- <input type="inter" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
|
|
4015
|
- </div>
|
4327
|
+ <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myorder" method="POST" name="form30" id="form30">
|
4016
|
<div class="form-group">
|
4328
|
<div class="form-group">
|
4017
|
- <label class="control-label" for="total">total</label>
|
|
|
4018
|
- <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
4329
|
+ <label class="control-label" for="type">type</label>
|
|
|
4330
|
+ <input type="inter" class="form-control input-sm" id="type" placeholder="状态(不传默认为全部 1为待支付 2为已完成" name="type">
|
4019
|
</div>
|
4331
|
</div>
|
4020
|
<div class="form-group">
|
4332
|
<div class="form-group">
|
4021
|
- <button type="submit" class="btn btn-success send" rel="28">提交</button>
|
|
|
4022
|
- <button type="reset" class="btn btn-info" rel="28">重置</button>
|
4333
|
+ <button type="submit" class="btn btn-success send" rel="30">提交</button>
|
|
|
4334
|
+ <button type="reset" class="btn btn-info" rel="30">重置</button>
|
4023
|
</div>
|
4335
|
</div>
|
4024
|
</form>
|
4336
|
</form>
|
4025
|
</div>
|
4337
|
</div>
|
|
@@ -4029,8 +4341,8 @@ |
|
@@ -4029,8 +4341,8 @@ |
4029
|
<div class="panel-body">
|
4341
|
<div class="panel-body">
|
4030
|
<div class="row">
|
4342
|
<div class="row">
|
4031
|
<div class="col-md-12" style="overflow-x:auto">
|
4343
|
<div class="col-md-12" style="overflow-x:auto">
|
4032
|
- <pre id="response_headers28"></pre>
|
|
|
4033
|
- <pre id="response28"></pre>
|
4344
|
+ <pre id="response_headers30"></pre>
|
|
|
4345
|
+ <pre id="response30"></pre>
|
4034
|
</div>
|
4346
|
</div>
|
4035
|
</div>
|
4347
|
</div>
|
4036
|
</div>
|
4348
|
</div>
|
|
@@ -4045,17 +4357,18 @@ |
|
@@ -4045,17 +4357,18 @@ |
4045
|
</div>
|
4357
|
</div>
|
4046
|
</div><!-- #sandbox -->
|
4358
|
</div><!-- #sandbox -->
|
4047
|
|
4359
|
|
4048
|
- <div class="tab-pane" id="sample28">
|
4360
|
+ <div class="tab-pane" id="sample30">
|
4049
|
<div class="row">
|
4361
|
<div class="row">
|
4050
|
<div class="col-md-12">
|
4362
|
<div class="col-md-12">
|
4051
|
- <pre id="sample_response28">{
|
4363
|
+ <pre id="sample_response30">{
|
4052
|
"code": 1,
|
4364
|
"code": 1,
|
4053
|
"msg": "成功",
|
4365
|
"msg": "成功",
|
4054
|
"time": "1571492001",
|
4366
|
"time": "1571492001",
|
4055
|
"data": {
|
4367
|
"data": {
|
4056
|
- "order_id"://订单ID
|
|
|
4057
|
- }
|
|
|
4058
|
- }</pre>
|
4368
|
+ "id": //用户ID
|
|
|
4369
|
+ "pic_id": //图片,
|
|
|
4370
|
+ "video_id": //视频,
|
|
|
4371
|
+ "status" : //状态(1待支付 2已完成</pre>
|
4059
|
</div>
|
4372
|
</div>
|
4060
|
</div>
|
4373
|
</div>
|
4061
|
</div><!-- #sample -->
|
4374
|
</div><!-- #sample -->
|
|
@@ -4070,7 +4383,7 @@ |
|
@@ -4070,7 +4383,7 @@ |
4070
|
|
4383
|
|
4071
|
<div class="row mt0 footer">
|
4384
|
<div class="row mt0 footer">
|
4072
|
<div class="col-md-6" align="left">
|
4385
|
<div class="col-md-6" align="left">
|
4073
|
- Generated on 2019-11-20 20:20:24 </div>
|
4386
|
+ Generated on 2019-11-20 22:45:23 </div>
|
4074
|
<div class="col-md-6" align="right">
|
4387
|
<div class="col-md-6" align="right">
|
4075
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
4388
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
4076
|
</div>
|
4389
|
</div>
|