...
|
...
|
@@ -143,28 +143,29 @@ |
|
|
<div class="child collapse" id="公共接口">
|
|
|
<a href="javascript:;" data-id="0" class="list-group-item">加载初始化</a>
|
|
|
<a href="javascript:;" data-id="1" class="list-group-item">上传文件</a>
|
|
|
<a href="javascript:;" data-id="2" class="list-group-item"></a>
|
|
|
</div>
|
|
|
<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="2" class="list-group-item">发送验证码</a>
|
|
|
<a href="javascript:;" data-id="3" class="list-group-item">检测验证码</a>
|
|
|
<a href="javascript:;" data-id="3" class="list-group-item">发送验证码</a>
|
|
|
<a href="javascript:;" data-id="4" class="list-group-item">检测验证码</a>
|
|
|
</div>
|
|
|
<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="4" class="list-group-item">首页</a>
|
|
|
<a href="javascript:;" data-id="5" class="list-group-item">首页</a>
|
|
|
</div>
|
|
|
<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="5" class="list-group-item">发送验证码</a>
|
|
|
<a href="javascript:;" data-id="6" class="list-group-item">检测验证码</a>
|
|
|
<a href="javascript:;" data-id="6" class="list-group-item">发送验证码</a>
|
|
|
<a href="javascript:;" data-id="7" class="list-group-item">检测验证码</a>
|
|
|
</div>
|
|
|
<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="7" class="list-group-item">获取sessionKey和openid</a>
|
|
|
<a href="javascript:;" data-id="8" class="list-group-item"></a>
|
|
|
<a href="javascript:;" data-id="9" class="list-group-item">小程序登录注册</a>
|
|
|
<a href="javascript:;" data-id="10" class="list-group-item">通过code获取token</a>
|
|
|
<a href="javascript:;" data-id="11" class="list-group-item"></a>
|
|
|
<a href="javascript:;" data-id="8" class="list-group-item">获取sessionKey和openid</a>
|
|
|
<a href="javascript:;" data-id="9" class="list-group-item"></a>
|
|
|
<a href="javascript:;" data-id="10" class="list-group-item">小程序登录注册</a>
|
|
|
<a href="javascript:;" data-id="11" class="list-group-item">通过code获取token</a>
|
|
|
<a href="javascript:;" data-id="12" class="list-group-item"></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -305,7 +306,7 @@ |
|
|
<div class="panel-heading" id="heading-1">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 上传文件 <span class="text-muted">/api/common/upload</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 上传文件 <span class="text-muted">/api/common/uploadFile</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne1" class="panel-collapse collapse">
|
...
|
...
|
@@ -327,7 +328,24 @@ |
|
|
<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">
|
...
|
...
|
@@ -344,10 +362,10 @@ |
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>image[]</td>
|
|
|
<td>file</td>
|
|
|
<td>File</td>
|
|
|
<td>是</td>
|
|
|
<td>文件流</td>
|
|
|
<td>否</td>
|
|
|
<td>图片</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
...
|
...
|
@@ -364,12 +382,23 @@ |
|
|
<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/common/upload" method="POST" name="form1" id="form1">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/common/uploadFile" method="POST" name="form1" id="form1">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="file">file</label>
|
|
|
<input type="File" class="form-control input-sm" id="file" required placeholder="文件流" name="file">
|
|
|
<label class="control-label" for="image[]">image[]</label>
|
|
|
<input type="file" class="form-control input-sm" id="image[]" placeholder="图片" name="image[]">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="1">提交</button>
|
...
|
...
|
@@ -402,7 +431,14 @@ |
|
|
<div class="tab-pane" id="sample1">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response1">无</pre>
|
|
|
<pre id="sample_response1">{
|
|
|
"code": 1,
|
|
|
"msg": "SUCCESS",
|
|
|
"time": "1553839125",
|
|
|
"data": {
|
|
|
|
|
|
}
|
|
|
}</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -411,13 +447,11 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<h2>邮箱验证码接口</h2>
|
|
|
<hr>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-2">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 发送验证码 <span class="text-muted">/api/ems/send</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> <span class="text-muted">/api/common/getOperateSys</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne2" class="panel-collapse collapse">
|
...
|
...
|
@@ -435,6 +469,100 @@ |
|
|
|
|
|
<div class="tab-pane active" id="info2">
|
|
|
<div class="well">
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</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 class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>正文</strong></div>
|
|
|
<div class="panel-body">
|
|
|
无 </div>
|
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox2">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/common/getOperateSys" method="get" name="form2" id="form2">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="2">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="2">重置</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_headers2"></pre>
|
|
|
<pre id="response2"></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="sample2">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response2">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
|
|
|
|
|
</div><!-- .tab-content -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<h2>邮箱验证码接口</h2>
|
|
|
<hr>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-3">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 发送验证码 <span class="text-muted">/api/ems/send</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne3" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab3">
|
|
|
<li class="active"><a href="#info3" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox3" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample3" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info3">
|
|
|
<div class="well">
|
|
|
发送验证码 </div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading"><strong>Headers</strong></div>
|
...
|
...
|
@@ -478,13 +606,13 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox2">
|
|
|
<div class="tab-pane" id="sandbox3">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/ems/send" method="get" name="form2" id="form2">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/send" method="get" name="form3" id="form3">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="email">email</label>
|
|
|
<input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
...
|
...
|
@@ -494,8 +622,8 @@ |
|
|
<input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="2">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="2">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="3">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="3">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -505,8 +633,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers2"></pre>
|
|
|
<pre id="response2"></pre>
|
|
|
<pre id="response_headers3"></pre>
|
|
|
<pre id="response3"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -521,10 +649,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample2">
|
|
|
<div class="tab-pane" id="sample3">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response2">无</pre>
|
|
|
<pre id="sample_response3">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -534,26 +662,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-3">
|
|
|
<div class="panel-heading" id="heading-4">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 检测验证码 <span class="text-muted">/api/ems/check</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 检测验证码 <span class="text-muted">/api/ems/check</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne3" class="panel-collapse collapse">
|
|
|
<div id="collapseOne4" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab3">
|
|
|
<li class="active"><a href="#info3" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox3" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample3" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab4">
|
|
|
<li class="active"><a href="#info4" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox4" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample4" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info3">
|
|
|
<div class="tab-pane active" id="info4">
|
|
|
<div class="well">
|
|
|
检测验证码 </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -604,13 +732,13 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox3">
|
|
|
<div class="tab-pane" id="sandbox4">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/ems/check" method="get" name="form3" id="form3">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/check" method="get" name="form4" id="form4">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="email">email</label>
|
|
|
<input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
|
...
|
...
|
@@ -624,8 +752,8 @@ |
|
|
<input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="3">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="3">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="4">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="4">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -635,8 +763,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers3"></pre>
|
|
|
<pre id="response3"></pre>
|
|
|
<pre id="response_headers4"></pre>
|
|
|
<pre id="response4"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -651,10 +779,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample3">
|
|
|
<div class="tab-pane" id="sample4">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response3">无</pre>
|
|
|
<pre id="sample_response4">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -666,26 +794,26 @@ |
|
|
<h2>首页接口</h2>
|
|
|
<hr>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-4">
|
|
|
<div class="panel-heading" id="heading-5">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 首页 <span class="text-muted">/api/index/index</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 首页 <span class="text-muted">/api/index/index</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne4" class="panel-collapse collapse">
|
|
|
<div id="collapseOne5" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab4">
|
|
|
<li class="active"><a href="#info4" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox4" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample4" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab5">
|
|
|
<li class="active"><a href="#info5" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox5" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample5" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info4">
|
|
|
<div class="tab-pane active" id="info5">
|
|
|
<div class="well">
|
|
|
首页 </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -707,19 +835,19 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox4">
|
|
|
<div class="tab-pane" id="sandbox5">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/index/index" method="get" name="form4" id="form4">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/index" method="get" name="form5" id="form5">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="4">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="4">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="5">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="5">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -729,8 +857,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers4"></pre>
|
|
|
<pre id="response4"></pre>
|
|
|
<pre id="response_headers5"></pre>
|
|
|
<pre id="response5"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -745,10 +873,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample4">
|
|
|
<div class="tab-pane" id="sample5">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response4">无</pre>
|
|
|
<pre id="sample_response5">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -760,26 +888,26 @@ |
|
|
<h2>手机短信接口</h2>
|
|
|
<hr>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-5">
|
|
|
<div class="panel-heading" id="heading-6">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 发送验证码 <span class="text-muted">/api/sms/send</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 发送验证码 <span class="text-muted">/api/sms/send</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne5" class="panel-collapse collapse">
|
|
|
<div id="collapseOne6" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab5">
|
|
|
<li class="active"><a href="#info5" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox5" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample5" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab6">
|
|
|
<li class="active"><a href="#info6" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox6" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample6" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info5">
|
|
|
<div class="tab-pane active" id="info6">
|
|
|
<div class="well">
|
|
|
发送验证码 </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -824,13 +952,13 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox5">
|
|
|
<div class="tab-pane" id="sandbox6">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/sms/send" method="get" name="form5" id="form5">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/sms/send" method="get" name="form6" id="form6">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="mobile">mobile</label>
|
|
|
<input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
|
...
|
...
|
@@ -840,8 +968,8 @@ |
|
|
<input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="5">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="5">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="6">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="6">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -851,8 +979,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers5"></pre>
|
|
|
<pre id="response5"></pre>
|
|
|
<pre id="response_headers6"></pre>
|
|
|
<pre id="response6"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -867,10 +995,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample5">
|
|
|
<div class="tab-pane" id="sample6">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response5">无</pre>
|
|
|
<pre id="sample_response6">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -880,26 +1008,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-6">
|
|
|
<div class="panel-heading" id="heading-7">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 检测验证码 <span class="text-muted">/api/sms/check</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 检测验证码 <span class="text-muted">/api/sms/check</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne6" class="panel-collapse collapse">
|
|
|
<div id="collapseOne7" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab6">
|
|
|
<li class="active"><a href="#info6" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox6" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample6" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab7">
|
|
|
<li class="active"><a href="#info7" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox7" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample7" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info6">
|
|
|
<div class="tab-pane active" id="info7">
|
|
|
<div class="well">
|
|
|
检测验证码 </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -950,13 +1078,13 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox6">
|
|
|
<div class="tab-pane" id="sandbox7">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/sms/check" method="get" name="form6" id="form6">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/sms/check" method="get" name="form7" id="form7">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="mobile">mobile</label>
|
|
|
<input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
|
...
|
...
|
@@ -970,8 +1098,8 @@ |
|
|
<input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="6">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="6">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="7">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="7">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -981,8 +1109,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers6"></pre>
|
|
|
<pre id="response6"></pre>
|
|
|
<pre id="response_headers7"></pre>
|
|
|
<pre id="response7"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -997,10 +1125,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample6">
|
|
|
<div class="tab-pane" id="sample7">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response6">无</pre>
|
|
|
<pre id="sample_response7">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -1012,26 +1140,26 @@ |
|
|
<h2>登录接口</h2>
|
|
|
<hr>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-7">
|
|
|
<div class="panel-heading" id="heading-8">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 获取sessionKey和openid <span class="text-muted">/api/user/getSessionKey</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 获取sessionKey和openid <span class="text-muted">/api/user/getSessionKey</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne7" class="panel-collapse collapse">
|
|
|
<div id="collapseOne8" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab7">
|
|
|
<li class="active"><a href="#info7" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox7" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample7" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab8">
|
|
|
<li class="active"><a href="#info8" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox8" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample8" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info7">
|
|
|
<div class="tab-pane active" id="info8">
|
|
|
<div class="well">
|
|
|
获取sessionKey和openid </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1070,20 +1198,20 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox7">
|
|
|
<div class="tab-pane" id="sandbox8">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/getSessionKey" method="POST" name="form7" id="form7">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getSessionKey" method="POST" name="form8" id="form8">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="code">code</label>
|
|
|
<input type="string" class="form-control input-sm" id="code" required placeholder="小程序code" name="code">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="7">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="7">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="8">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="8">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -1093,8 +1221,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers7"></pre>
|
|
|
<pre id="response7"></pre>
|
|
|
<pre id="response_headers8"></pre>
|
|
|
<pre id="response8"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1109,10 +1237,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample7">
|
|
|
<div class="tab-pane" id="sample8">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response7">{
|
|
|
<pre id="sample_response8">{
|
|
|
"code": 1,
|
|
|
"msg": "获取成功",
|
|
|
"time": "1553839125",
|
...
|
...
|
@@ -1130,26 +1258,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-8">
|
|
|
<div class="panel-heading" id="heading-9">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> <span class="text-muted">/api/user/http_get</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> <span class="text-muted">/api/user/http_get</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne8" class="panel-collapse collapse">
|
|
|
<div id="collapseOne9" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab8">
|
|
|
<li class="active"><a href="#info8" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox8" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample8" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab9">
|
|
|
<li class="active"><a href="#info9" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox9" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample9" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info8">
|
|
|
<div class="tab-pane active" id="info9">
|
|
|
<div class="well">
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1171,19 +1299,19 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox8">
|
|
|
<div class="tab-pane" id="sandbox9">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/http_get" method="get" name="form8" id="form8">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/http_get" method="get" name="form9" id="form9">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="8">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="8">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="9">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="9">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -1193,8 +1321,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers8"></pre>
|
|
|
<pre id="response8"></pre>
|
|
|
<pre id="response_headers9"></pre>
|
|
|
<pre id="response9"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1209,10 +1337,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample8">
|
|
|
<div class="tab-pane" id="sample9">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response8">无</pre>
|
|
|
<pre id="sample_response9">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -1222,26 +1350,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-9">
|
|
|
<div class="panel-heading" id="heading-10">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 小程序登录注册 <span class="text-muted">/api/user/login</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 小程序登录注册 <span class="text-muted">/api/user/login</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne9" class="panel-collapse collapse">
|
|
|
<div id="collapseOne10" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab9">
|
|
|
<li class="active"><a href="#info9" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox9" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample9" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab10">
|
|
|
<li class="active"><a href="#info10" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox10" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample10" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info9">
|
|
|
<div class="tab-pane active" id="info10">
|
|
|
<div class="well">
|
|
|
小程序登录注册 </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1298,13 +1426,13 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox9">
|
|
|
<div class="tab-pane" id="sandbox10">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/login" method="POST" name="form9" id="form9">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form10" id="form10">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="openid">openid</label>
|
|
|
<input type="string" class="form-control input-sm" id="openid" required placeholder="openid" name="openid">
|
...
|
...
|
@@ -1322,8 +1450,8 @@ |
|
|
<input type="string" class="form-control input-sm" id="iv" required placeholder="iv" name="iv">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="9">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="9">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="10">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="10">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -1333,8 +1461,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers9"></pre>
|
|
|
<pre id="response9"></pre>
|
|
|
<pre id="response_headers10"></pre>
|
|
|
<pre id="response10"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1349,10 +1477,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample9">
|
|
|
<div class="tab-pane" id="sample10">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response9">{
|
|
|
<pre id="sample_response10">{
|
|
|
"code": 1,
|
|
|
"msg": "登陆成功",
|
|
|
"time": "1553839125",
|
...
|
...
|
@@ -1369,26 +1497,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-10">
|
|
|
<div class="panel-heading" id="heading-11">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-primary">POST</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 通过code获取token <span class="text-muted">/api/user/getToken</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 通过code获取token <span class="text-muted">/api/user/getToken</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne10" class="panel-collapse collapse">
|
|
|
<div id="collapseOne11" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab10">
|
|
|
<li class="active"><a href="#info10" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox10" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample10" data-toggle="tab">返回示例</a></li>
|
|
|
<ul class="nav nav-tabs" id="doctab11">
|
|
|
<li class="active"><a href="#info11" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox11" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample11" data-toggle="tab">返回示例</a></li>
|
|
|
</ul>
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
<div class="tab-content">
|
|
|
|
|
|
<div class="tab-pane active" id="info10">
|
|
|
<div class="tab-pane active" id="info11">
|
|
|
<div class="well">
|
|
|
通过code获取token </div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1427,20 +1555,20 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox10">
|
|
|
<div class="tab-pane" id="sandbox11">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/getToken" method="POST" name="form10" id="form10">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getToken" method="POST" name="form11" id="form11">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label" for="code">code</label>
|
|
|
<input type="string" class="form-control input-sm" id="code" required placeholder="code" name="code">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="10">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="10">重置</button>
|
|
|
<button type="submit" class="btn btn-success send" rel="11">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="11">重置</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
@@ -1450,8 +1578,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers10"></pre>
|
|
|
<pre id="response10"></pre>
|
|
|
<pre id="response_headers11"></pre>
|
|
|
<pre id="response11"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1466,10 +1594,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample10">
|
|
|
<div class="tab-pane" id="sample11">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response10">{
|
|
|
<pre id="sample_response11">{
|
|
|
"code": 1,
|
|
|
"msg": "SUCCESS",
|
|
|
"time": "1553839125",
|
...
|
...
|
@@ -1486,26 +1614,26 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading" id="heading-11">
|
|
|
<div class="panel-heading" id="heading-12">
|
|
|
<h4 class="panel-title">
|
|
|
<span class="label label-success">GET</span>
|
|
|
<a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> <span class="text-muted">/api/user/member</span></a>
|
|
|
<a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> <span class="text-muted">/api/user/member</span></a>
|
|
|
</h4>
|
|
|
</div>
|
|
|
<div id="collapseOne11" class="panel-collapse collapse">
|
|
|
<div id="collapseOne12" class="panel-collapse collapse">
|
|
|
<div class="panel-body">
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
<ul class="nav nav-tabs" id="doctab11">
|
|
|
<li class="active"><a href="#info11" data-toggle="tab">基础信息</a></li>
|
|
|
<li><a href="#sandbox11" data-toggle="tab">在线测试</a></li>
|
|
|
<li><a href="#sample11" 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="info11">
|
|
|
<div class="tab-pane active" id="info12">
|
|
|
<div class="well">
|
|
|
</div>
|
|
|
<div class="panel panel-default">
|
...
|
...
|
@@ -1527,19 +1655,19 @@ |
|
|
</div>
|
|
|
</div><!-- #info -->
|
|
|
|
|
|
<div class="tab-pane" id="sandbox11">
|
|
|
<div class="tab-pane" id="sandbox12">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<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/member" method="get" name="form11" id="form11">
|
|
|
<form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/member" method="get" name="form12" id="form12">
|
|
|
<div class="form-group">
|
|
|
无
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success send" rel="11">提交</button>
|
|
|
<button type="reset" class="btn btn-info" rel="11">重置</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>
|
...
|
...
|
@@ -1549,8 +1677,8 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12" style="overflow-x:auto">
|
|
|
<pre id="response_headers11"></pre>
|
|
|
<pre id="response11"></pre>
|
|
|
<pre id="response_headers12"></pre>
|
|
|
<pre id="response12"></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -1565,10 +1693,10 @@ |
|
|
</div>
|
|
|
</div><!-- #sandbox -->
|
|
|
|
|
|
<div class="tab-pane" id="sample11">
|
|
|
<div class="tab-pane" id="sample12">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
<pre id="sample_response11">无</pre>
|
|
|
<pre id="sample_response12">无</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- #sample -->
|
...
|
...
|
@@ -1583,7 +1711,7 @@ |
|
|
|
|
|
<div class="row mt0 footer">
|
|
|
<div class="col-md-6" align="left">
|
|
|
Generated on 2020-01-09 13:44:09 </div>
|
|
|
Generated on 2020-01-09 13:57:39 </div>
|
|
|
<div class="col-md-6" align="right">
|
|
|
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
|
|
|
</div>
|
...
|
...
|
|