...
|
...
|
@@ -162,15 +162,17 @@ |
|
|
<a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心 <i class="fa fa-caret-down"></i></a>
|
|
|
<div class="child collapse" id="个人中心">
|
|
|
<a href="javascript:;" data-id="11" class="list-group-item">小程序登录</a>
|
|
|
<a href="javascript:;" data-id="21" class="list-group-item">我的</a>
|
|
|
<a href="javascript:;" data-id="22" class="list-group-item">创建充值订单</a>
|
|
|
<a href="javascript:;" data-id="29" class="list-group-item">创建组合订单</a>
|
|
|
<a href="javascript:;" data-id="28" class="list-group-item">创建视频订单</a>
|
|
|
<a href="javascript:;" data-id="27" class="list-group-item">创建图片订单</a>
|
|
|
<a href="javascript:;" data-id="26" class="list-group-item">加入购物车</a>
|
|
|
<a href="javascript:;" data-id="25" class="list-group-item">购物车列表</a>
|
|
|
<a href="javascript:;" data-id="24" class="list-group-item">会员须知</a>
|
|
|
<a href="javascript:;" data-id="23" class="list-group-item">会员介绍</a>
|
|
|
<a href="javascript:;" data-id="22" class="list-group-item">创建充值订单</a>
|
|
|
<a href="javascript:;" data-id="20" class="list-group-item">历史记录</a>
|
|
|
<a href="javascript:;" data-id="21" class="list-group-item">我的</a>
|
|
|
<a href="javascript:;" data-id="12" class="list-group-item">首页视频、图片、精美大片入口</a>
|
|
|
<a href="javascript:;" data-id="20" class="list-group-item">历史记录</a>
|
|
|
<a href="javascript:;" data-id="19" class="list-group-item">视频详情</a>
|
|
|
<a href="javascript:;" data-id="18" class="list-group-item">图片详情</a>
|
|
|
<a href="javascript:;" data-id="17" class="list-group-item">精美大片列表</a>
|
...
|
...
|
@@ -178,7 +180,7 @@ |
|
|
<a href="javascript:;" data-id="15" class="list-group-item">图片列表</a>
|
|
|
<a href="javascript:;" data-id="14" class="list-group-item">搜索页</a>
|
|
|
<a href="javascript:;" data-id="13" class="list-group-item">地区分类</a>
|
|
|
<a href="javascript:;" data-id="28" class="list-group-item">创建视频订单</a>
|
|
|
<a href="javascript:;" data-id="30" class="list-group-item">我的订单</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1559,28 +1561,338 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-21">
|
|
|
<div class="panel-heading" id="heading-22">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 我的 <span class="text-muted">/api/user/mine</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne21" class="panel-collapse collapse">
|
|
|
<div id="collapseOne22" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab21">
|
|
|
<li class="active"><a href="#info21" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox21" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample21" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab22">
|
|
|
<li class="active"><a href="#info22" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox22" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample22" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info21">
|
|
|
<div class="tab-pane active" id="info22">
|
|
|
<div class="well">
|
|
|
我的 </div>
|
|
|
创建充值订单 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>token</td>
|
|
|
<td>string</td>
|
|
|
<td>是</td>
|
|
|
<td>请求的Token</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>money</td>
|
|
|
<td>float</td>
|
|
|
<td>是</td>
|
|
|
<td>充值金额</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>正文</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无 </div>
|
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox22">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<div class="headers">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="token">token</label>
|
|
|
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/toporder" method="POST" name="form22" id="form22">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="money">money</label>
|
|
|
<input type="float" class="form-control input-sm" id="money" required placeholder="充值金额" name="money">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="22">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="22">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>响应输出</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers22"></pre>
|
|
|
<pre id="response22"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>返回参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample22">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response22">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"order_id"://订单ID
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
|
|
|
|
|
</div><!-- .tab-content -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-29">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 创建组合订单 <span class="text-muted">/api/user/orders</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne29" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab29">
|
|
|
<li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample29" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info29">
|
|
|
<div class="well">
|
|
|
创建组合订单 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>token</td>
|
|
|
<td>string</td>
|
|
|
<td>是</td>
|
|
|
<td>请求的Token</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>video_id</td>
|
|
|
<td>string</td>
|
|
|
<td>是</td>
|
|
|
<td>视频ID</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>pic_id</td>
|
|
|
<td>string</td>
|
|
|
<td>是</td>
|
|
|
<td>图片ID</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>total</td>
|
|
|
<td>float</td>
|
|
|
<td>是</td>
|
|
|
<td>价格</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>正文</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无 </div>
|
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox29">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<div class="headers">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="token">token</label>
|
|
|
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/orders" method="POST" name="form29" id="form29">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="video_id">video_id</label>
|
|
|
<input type="string" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="pic_id">pic_id</label>
|
|
|
<input type="string" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="total">total</label>
|
|
|
<input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="29">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="29">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>响应输出</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers29"></pre>
|
|
|
<pre id="response29"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>返回参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample29">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response29">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"order_id"://订单ID
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
|
|
|
|
|
</div><!-- .tab-content -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-28">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne28" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab28">
|
|
|
<li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample28" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info28">
|
|
|
<div class="well">
|
|
|
创建视频订单 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
...
|
...
|
@@ -1595,29 +1907,52 @@ |
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>token</td>
|
|
|
<td>string</td>
|
|
|
<td>token</td>
|
|
|
<td>string</td>
|
|
|
<td>是</td>
|
|
|
<td>请求的Token</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>video_id</td>
|
|
|
<td>inter</td>
|
|
|
<td>是</td>
|
|
|
<td>视频ID</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>total</td>
|
|
|
<td>float</td>
|
|
|
<td>是</td>
|
|
|
<td>请求的Token</td>
|
|
|
<td>价格</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>正文</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无 </div>
|
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox21">
|
|
|
<div class="tab-pane" id="sandbox28">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1634,13 +1969,18 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mine" method="POST" name="form21" id="form21">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/v_order" method="POST" name="form28" id="form28">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
<label class="control-label" for="video_id">video_id</label>
|
|
|
<input type="inter" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="21">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="21">重置</button>
|
|
|
<label class="control-label" for="total">total</label>
|
|
|
<input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="28">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="28">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -1650,8 +1990,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers21"></pre>
|
|
|
<pre id="response21"></pre>
|
|
|
<pre id="response_headers28"></pre>
|
|
|
<pre id="response28"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1666,19 +2006,17 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample21">
|
|
|
<div class="tab-pane" id="sample28">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response21">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"id": //用户ID
|
|
|
"nickname": //昵称,
|
|
|
"avatar": //头像,
|
|
|
"money" : //余额
|
|
|
"is_vip": //是否为会员(0否 1是</pre>
|
|
|
<pre id="sample_response28">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"order_id"://订单ID
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -2402,28 +2740,28 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-22">
|
|
|
<div class="panel-heading" id="heading-21">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 我的 <span class="text-muted">/api/user/mine</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne22" class="panel-collapse collapse">
|
|
|
<div id="collapseOne21" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab22">
|
|
|
<li class="active"><a href="#info22" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox22" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample22" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab21">
|
|
|
<li class="active"><a href="#info21" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox21" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample21" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info22">
|
|
|
<div class="tab-pane active" id="info21">
|
|
|
<div class="well">
|
|
|
创建充值订单 </div>
|
|
|
我的 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
...
|
...
|
@@ -2450,24 +2788,7 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<table class="table table-hover">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>名称</th>
|
|
|
<th>类型</th>
|
|
|
<th>必选</th>
|
|
|
<th>描述</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>money</td>
|
|
|
<td>float</td>
|
|
|
<td>是</td>
|
|
|
<td>充值金额</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
无
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -2477,7 +2798,7 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox22">
|
|
|
<div class="tab-pane" id="sandbox21">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -2494,14 +2815,13 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/toporder" method="POST" name="form22" id="form22">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mine" method="POST" name="form21" id="form21">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="money">money</label>
|
|
|
<input type="float" class="form-control input-sm" id="money" required placeholder="充值金额" name="money">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="22">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="22">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="21">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="21">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -2511,8 +2831,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers22"></pre>
|
|
|
<pre id="response22"></pre>
|
|
|
<pre id="response_headers21"></pre>
|
|
|
<pre id="response21"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -2527,17 +2847,19 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample22">
|
|
|
<div class="tab-pane" id="sample21">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response22">{
|
|
|
<pre id="sample_response21">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"order_id"://订单ID
|
|
|
}
|
|
|
}</pre>
|
|
|
"id": //用户ID
|
|
|
"nickname": //昵称,
|
|
|
"avatar": //头像,
|
|
|
"money" : //余额
|
|
|
"is_vip": //是否为会员(0否 1是</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -2547,28 +2869,28 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-20">
|
|
|
<div class="panel-heading" id="heading-12">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 历史记录 <span class="text-muted">/api/user/history</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne20" class="panel-collapse collapse">
|
|
|
<div id="collapseOne12" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab20">
|
|
|
<li class="active"><a href="#info20" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox20" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample20" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab12">
|
|
|
<li class="active"><a href="#info12" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox12" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample12" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info20">
|
|
|
<div class="tab-pane active" id="info12">
|
|
|
<div class="well">
|
|
|
历史记录 </div>
|
|
|
首页视频、图片、精美大片入口 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
...
|
...
|
@@ -2605,7 +2927,7 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox20">
|
|
|
<div class="tab-pane" id="sandbox12">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -2622,13 +2944,13 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/history" method="POST" name="form20" id="form20">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form12" id="form12">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="20">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="20">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="12">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="12">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -2638,8 +2960,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers20"></pre>
|
|
|
<pre id="response20"></pre>
|
|
|
<pre id="response_headers12"></pre>
|
|
|
<pre id="response12"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -2654,17 +2976,18 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample20">
|
|
|
<div class="tab-pane" id="sample12">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response20">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
<pre id="sample_response12">{
|
|
|
'code':'1',
|
|
|
'msg':'返回成功',
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"id": 4,//记录id,
|
|
|
"title"://搜索的内容
|
|
|
}
|
|
|
"data": {
|
|
|
"video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
"pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
"wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -2675,28 +2998,28 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-12">
|
|
|
<div class="panel-heading" id="heading-20">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 历史记录 <span class="text-muted">/api/user/history</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne12" class="panel-collapse collapse">
|
|
|
<div id="collapseOne20" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab12">
|
|
|
<li class="active"><a href="#info12" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox12" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample12" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab20">
|
|
|
<li class="active"><a href="#info20" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox20" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample20" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info12">
|
|
|
<div class="tab-pane active" id="info20">
|
|
|
<div class="well">
|
|
|
首页视频、图片、精美大片入口 </div>
|
|
|
历史记录 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
...
|
...
|
@@ -2733,7 +3056,7 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox12">
|
|
|
<div class="tab-pane" id="sandbox20">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -2750,13 +3073,13 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form12" id="form12">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/history" method="POST" name="form20" id="form20">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="12">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="12">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="20">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="20">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -2766,8 +3089,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers12"></pre>
|
|
|
<pre id="response12"></pre>
|
|
|
<pre id="response_headers20"></pre>
|
|
|
<pre id="response20"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -2782,18 +3105,17 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample12">
|
|
|
<div class="tab-pane" id="sample20">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response12">{
|
|
|
'code':'1',
|
|
|
'msg':'返回成功',
|
|
|
<pre id="sample_response20">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"video_thumbnail": http://mapwww.baidu.com 视频封面图地址
|
|
|
"pic_thumbnail": http://mapwww.baidu.com 图片地址
|
|
|
"wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
|
|
|
}
|
|
|
"data": {
|
|
|
"id": 4,//记录id,
|
|
|
"title"://搜索的内容
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -3910,28 +4232,28 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-28">
|
|
|
<div class="panel-heading" id="heading-30">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 我的订单 <span class="text-muted">/api/user/myorder</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne28" class="panel-collapse collapse">
|
|
|
<div id="collapseOne30" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab28">
|
|
|
<li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample28" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab30">
|
|
|
<li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample30" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info28">
|
|
|
<div class="tab-pane active" id="info30">
|
|
|
<div class="well">
|
|
|
创建视频订单 </div>
|
|
|
我的订单 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
|
|
<div class="panel-body">
|
...
|
...
|
@@ -3969,16 +4291,10 @@ |
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>video_id</td>
|
|
|
<td>type</td>
|
|
|
<td>inter</td>
|
|
|
<td>是</td>
|
|
|
<td>视频ID</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>total</td>
|
|
|
<td>float</td>
|
|
|
<td>是</td>
|
|
|
<td>价格</td>
|
|
|
<td>否</td>
|
|
|
<td>状态(不传默认为全部 1为待支付 2为已完成</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
...
|
...
|
@@ -3991,7 +4307,7 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox28">
|
|
|
<div class="tab-pane" id="sandbox30">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -4008,18 +4324,14 @@ |
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>参数</strong></div>
|
|
|
<div class="panel-body">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/v_order" method="POST" name="form28" id="form28">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="video_id">video_id</label>
|
|
|
<input type="inter" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
|
|
|
</div>
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myorder" method="POST" name="form30" id="form30">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="total">total</label>
|
|
|
<input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
|
|
|
<label class="control-label" for="type">type</label>
|
|
|
<input type="inter" class="form-control input-sm" id="type" placeholder="状态(不传默认为全部 1为待支付 2为已完成" name="type">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="28">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="28">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="30">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="30">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -4029,8 +4341,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers28"></pre>
|
|
|
<pre id="response28"></pre>
|
|
|
<pre id="response_headers30"></pre>
|
|
|
<pre id="response30"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -4045,17 +4357,18 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample28">
|
|
|
<div class="tab-pane" id="sample30">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response28">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"order_id"://订单ID
|
|
|
}
|
|
|
}</pre>
|
|
|
<pre id="sample_response30">{
|
|
|
"code": 1,
|
|
|
"msg": "成功",
|
|
|
"time": "1571492001",
|
|
|
"data": {
|
|
|
"id": //用户ID
|
|
|
"pic_id": //图片,
|
|
|
"video_id": //视频,
|
|
|
"status" : //状态(1待支付 2已完成</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -4070,7 +4383,7 @@ |
|
|
|
|
|
<div class="row mt0 footer">
|
|
|
<div class="col-md-6" align="left">
|
|
|
Generated on 2019-11-20 20:20:24 </div>
|
|
|
Generated on 2019-11-20 22:45:23 </div>
|
|
|
<div class="col-md-6" align="right">
|
|
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
|
|
</div>
|
...
|
...
|
|