<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="仁甲看见SHOP"> <title>仁甲看见SHOP</title> <!-- Bootstrap Core CSS --> <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <!-- Plugin CSS --> <link href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <style type="text/css"> body { padding-top: 70px; margin-bottom: 15px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-weight: 400; } h2 { font-size: 1.6em; } hr { margin-top: 10px; } .tab-pane { padding-top: 10px; } .mt0 { margin-top: 0px; } .footer { font-size: 12px; color: #666; } .label { display: inline-block; min-width: 65px; padding: 0.3em 0.6em 0.3em; } .string { color: green; } .number { color: darkorange; } .boolean { color: blue; } .null { color: magenta; } .key { color: red; } .popover { max-width: 400px; max-height: 400px; overflow-y: auto;} .list-group.panel > .list-group-item { } .list-group-item:last-child { border-radius:0; } h4.panel-title a { font-weight:normal; font-size:14px; } h4.panel-title a .text-muted { font-size:12px; font-weight:normal; font-family: 'Verdana'; } #sidebar { width: 220px; position: fixed; margin-left: -240px; overflow-y:auto; } #sidebar > .list-group { margin-bottom:0; } #sidebar > .list-group > a{ text-indent:0; } #sidebar .child { border:1px solid #ddd; border-bottom:none; } #sidebar .child > a { border:0; } #sidebar .list-group a.current { background:#f5f5f5; } @media (max-width: 1620px){ #sidebar { margin:0; } #accordion { padding-left:235px; } } @media (max-width: 768px){ #sidebar { display: none; } #accordion { padding-left:0px; } } .label-primary { background-color: #248aff; } </style> </head> <body> <!-- Fixed navbar --> <div class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="https://www.fastadmin.net" target="_blank">仁甲看见SHOP</a> </div> <div class="navbar-collapse collapse"> <form class="navbar-form navbar-right"> <div class="form-group"> Token: </div> <div class="form-group"> <input type="text" class="form-control input-sm" data-toggle="tooltip" title="Token在会员注册或登录后都会返回,WEB端同时存在于Cookie中" placeholder="token" id="token" /> </div> <div class="form-group"> Apiurl: </div> <div class="form-group"> <input id="apiUrl" type="text" class="form-control input-sm" data-toggle="tooltip" title="API接口URL" placeholder="https://api.mydomain.com" value="" /> </div> <div class="form-group"> <button type="button" class="btn btn-success btn-sm" data-toggle="tooltip" title="点击保存后Token和Api url都将保存在本地Localstorage中" id="save_data"> <span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span> </button> </div> </form> </div><!--/.nav-collapse --> </div> </div> <div class="container"> <!-- menu --> <div id="sidebar"> <div class="list-group panel"> <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="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> <a href="javascript:;" data-id="3" 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> </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="7" class="list-group-item">购买支付</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"></a> <a href="javascript:;" data-id="11" class="list-group-item"></a> <a href="javascript:;" data-id="12" class="list-group-item"></a> <a href="javascript:;" data-id="13" class="list-group-item"></a> <a href="javascript:;" data-id="14" class="list-group-item"></a> </div> <a href="#Token接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">Token接口 <i class="fa fa-caret-down"></i></a> <div class="child collapse" id="Token接口"> <a href="javascript:;" data-id="15" class="list-group-item">检测Token是否过期</a> <a href="javascript:;" data-id="16" class="list-group-item">刷新Token</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="17" class="list-group-item">小程序登录</a> <a href="javascript:;" data-id="48" class="list-group-item"></a> <a href="javascript:;" data-id="41" class="list-group-item">创建图片订单</a> <a href="javascript:;" data-id="42" class="list-group-item">创建视频订单</a> <a href="javascript:;" data-id="43" class="list-group-item">创建组合订单</a> <a href="javascript:;" data-id="44" class="list-group-item">创建苹果订单</a> <a href="javascript:;" data-id="45" class="list-group-item"></a> <a href="javascript:;" data-id="46" class="list-group-item">删除订单</a> <a href="javascript:;" data-id="47" class="list-group-item">我的订单</a> <a href="javascript:;" data-id="49" class="list-group-item"></a> <a href="javascript:;" data-id="39" class="list-group-item">加入购物车</a> <a href="javascript:;" data-id="50" class="list-group-item">消费记录</a> <a href="javascript:;" data-id="51" class="list-group-item">获取sessionkey</a> <a href="javascript:;" data-id="52" class="list-group-item"></a> <a href="javascript:;" data-id="53" class="list-group-item">获取用户手机号</a> <a href="javascript:;" data-id="54" class="list-group-item">绑定用户手机号</a> <a href="javascript:;" data-id="55" class="list-group-item">填写发票信息</a> <a href="javascript:;" data-id="56" class="list-group-item">填写授权书信息</a> <a href="javascript:;" data-id="57" class="list-group-item">投诉与建议</a> <a href="javascript:;" data-id="40" class="list-group-item">删除购物车商品</a> <a href="javascript:;" data-id="38" class="list-group-item">购物车列表</a> <a href="javascript:;" data-id="18" class="list-group-item">首页flash接口</a> <a href="javascript:;" data-id="27" class="list-group-item">精美大片列表</a> <a href="javascript:;" data-id="19" 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="22" class="list-group-item">图片分类(类型</a> <a href="javascript:;" data-id="23" class="list-group-item">搜索页</a> <a href="javascript:;" data-id="24" class="list-group-item">图片列表</a> <a href="javascript:;" data-id="25" class="list-group-item">分类下的图片视频</a> <a href="javascript:;" data-id="26" class="list-group-item">视频列表</a> <a href="javascript:;" data-id="28" class="list-group-item">图片详情</a> <a href="javascript:;" data-id="37" class="list-group-item">会员须知</a> <a href="javascript:;" data-id="29" class="list-group-item">视频详情</a> <a href="javascript:;" data-id="30" class="list-group-item">是否购买过</a> <a href="javascript:;" data-id="31" class="list-group-item">搜索关键词内容</a> <a href="javascript:;" data-id="32" class="list-group-item">通过详情页关键词搜索</a> <a href="javascript:;" data-id="33" class="list-group-item">我的</a> <a href="javascript:;" data-id="34" class="list-group-item">创建充值订单</a> <a href="javascript:;" data-id="35" class="list-group-item">创建开通会员订单</a> <a href="javascript:;" data-id="36" class="list-group-item">会员介绍</a> <a href="javascript:;" data-id="58" class="list-group-item">切换数值</a> </div> </div> </div> <div class="panel-group" id="accordion"> <h2>公共接口</h2> <hr> <div class="panel panel-default"> <div class="panel-heading" id="heading-0"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion0" href="#collapseOne0"> <span class="text-muted">/api/common/test_pdf</span></a> </h4> </div> <div id="collapseOne0" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab0"> <li class="active"><a href="#info0" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox0" data-toggle="tab">在线测试</a></li> <li><a href="#sample0" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info0"> <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="sandbox0"> <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/test_pdf" method="get" name="form0" id="form0"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="0">提交</button> <button type="reset" class="btn btn-info" rel="0">重置</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_headers0"></pre> <pre id="response0"></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="sample0"> <div class="row"> <div class="col-md-12"> <pre id="sample_response0">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-1"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 加载初始化 <span class="text-muted">/api/common/init</span></a> </h4> </div> <div id="collapseOne1" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab1"> <li class="active"><a href="#info1" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox1" data-toggle="tab">在线测试</a></li> <li><a href="#sample1" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info1"> <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"> <table class="table table-hover"> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>version</td> <td>string</td> <td>是</td> <td>版本号</td> </tr> <tr> <td>lng</td> <td>string</td> <td>是</td> <td>经度</td> </tr> <tr> <td>lat</td> <td>string</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="sandbox1"> <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/init" method="get" name="form1" id="form1"> <div class="form-group"> <label class="control-label" for="version">version</label> <input type="string" class="form-control input-sm" id="version" required placeholder="版本号" name="version"> </div> <div class="form-group"> <label class="control-label" for="lng">lng</label> <input type="string" class="form-control input-sm" id="lng" required placeholder="经度" name="lng"> </div> <div class="form-group"> <label class="control-label" for="lat">lat</label> <input type="string" class="form-control input-sm" id="lat" required placeholder="纬度" name="lat"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="1">提交</button> <button type="reset" class="btn btn-info" rel="1">重置</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_headers1"></pre> <pre id="response1"></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="sample1"> <div class="row"> <div class="col-md-12"> <pre id="sample_response1">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-2"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 上传文件 <span class="text-muted">/api/common/upload</span></a> </h4> </div> <div id="collapseOne2" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab2"> <li class="active"><a href="#info2" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox2" data-toggle="tab">在线测试</a></li> <li><a href="#sample2" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <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"> <table class="table table-hover"> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>file</td> <td>File</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="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/upload" method="POST" name="form2" id="form2"> <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"> </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> <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/common/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> <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="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/common/send" method="get" name="form3" id="form3"> <div class="form-group"> 无 </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> </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_headers3"></pre> <pre id="response3"></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="sample3"> <div class="row"> <div class="col-md-12"> <pre id="sample_response3">无</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-4"> <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/notify/picOrderNotify</span></a> </h4> </div> <div id="collapseOne4" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info4"> <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="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/notify/picOrderNotify" method="get" name="form4" id="form4"> <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> </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_headers4"></pre> <pre id="response4"></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="sample4"> <div class="row"> <div class="col-md-12"> <pre id="sample_response4">无</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-5"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 充值支付 <span class="text-muted">/api/pay/pay</span></a> </h4> </div> <div id="collapseOne5" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info5"> <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>order_id</td> <td>inter</td> <td>是</td> <td>订单id</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="sandbox5"> <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/pay/pay" method="POST" name="form5" id="form5"> <div class="form-group"> <label class="control-label" for="order_id">order_id</label> <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id"> </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> </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_headers5"></pre> <pre id="response5"></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="sample5"> <div class="row"> <div class="col-md-12"> <pre id="sample_response5">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-6"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 开通会员支付 <span class="text-muted">/api/pay/vippay</span></a> </h4> </div> <div id="collapseOne6" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info6"> <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>order_id</td> <td>inter</td> <td>是</td> <td>订单id</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="sandbox6"> <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/pay/vippay" method="POST" name="form6" id="form6"> <div class="form-group"> <label class="control-label" for="order_id">order_id</label> <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id"> </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> </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_headers6"></pre> <pre id="response6"></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="sample6"> <div class="row"> <div class="col-md-12"> <pre id="sample_response6">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-7"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 购买支付 <span class="text-muted">/api/pay/picpay</span></a> </h4> </div> <div id="collapseOne7" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info7"> <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>order_id</td> <td>inter</td> <td>是</td> <td>订单id</td> </tr> <tr> <td>type</td> <td>inter</td> <td>是</td> <td>支付方式 1 为余额支付 2为微信支付</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="sandbox7"> <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/pay/picpay" method="POST" name="form7" id="form7"> <div class="form-group"> <label class="control-label" for="order_id">order_id</label> <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id"> </div> <div class="form-group"> <label class="control-label" for="type">type</label> <input type="inter" class="form-control input-sm" id="type" required placeholder="支付方式 1 为余额支付 2为微信支付" name="type"> </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> </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_headers7"></pre> <pre id="response7"></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="sample7"> <div class="row"> <div class="col-md-12"> <pre id="sample_response7">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-8"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 预约拍摄 <span class="text-muted">/api/pay/appointment</span></a> </h4> </div> <div id="collapseOne8" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info8"> <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>phone</td> <td>inter</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="sandbox8"> <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/pay/appointment" method="POST" name="form8" id="form8"> <div class="form-group"> <label class="control-label" for="phone">phone</label> <input type="inter" class="form-control input-sm" id="phone" required placeholder="手机号" name="phone"> </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> </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_headers8"></pre> <pre id="response8"></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="sample8"> <div class="row"> <div class="col-md-12"> <pre id="sample_response8">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-9"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> <span class="text-muted">/api/pay/sms</span></a> </h4> </div> <div id="collapseOne9" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info9"> <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="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/pay/sms" method="get" name="form9" id="form9"> <div class="form-group"> 无 </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> </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_headers9"></pre> <pre id="response9"></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="sample9"> <div class="row"> <div class="col-md-12"> <pre id="sample_response9">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-10"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> <span class="text-muted">/api/pay/send_sms</span></a> </h4> </div> <div id="collapseOne10" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info10"> <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="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/pay/send_sms" method="get" name="form10" id="form10"> <div class="form-group"> 无 </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> </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_headers10"></pre> <pre id="response10"></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="sample10"> <div class="row"> <div class="col-md-12"> <pre id="sample_response10">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-11"> <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/pay/payOrderNotify</span></a> </h4> </div> <div id="collapseOne11" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info11"> <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="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/pay/payOrderNotify" method="get" name="form11" id="form11"> <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> </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_headers11"></pre> <pre id="response11"></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="sample11"> <div class="row"> <div class="col-md-12"> <pre id="sample_response11">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-12"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> <span class="text-muted">/api/pay/vippayOrderNotify</span></a> </h4> </div> <div id="collapseOne12" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info12"> <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="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/pay/vippayOrderNotify" method="get" name="form12" id="form12"> <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> </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_headers12"></pre> <pre id="response12"></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="sample12"> <div class="row"> <div class="col-md-12"> <pre id="sample_response12">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-13"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> <span class="text-muted">/api/pay/picOrderNotify</span></a> </h4> </div> <div id="collapseOne13" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab13"> <li class="active"><a href="#info13" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox13" data-toggle="tab">在线测试</a></li> <li><a href="#sample13" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info13"> <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="sandbox13"> <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/pay/picOrderNotify" method="get" name="form13" id="form13"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="13">提交</button> <button type="reset" class="btn btn-info" rel="13">重置</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_headers13"></pre> <pre id="response13"></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="sample13"> <div class="row"> <div class="col-md-12"> <pre id="sample_response13">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-14"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion14" href="#collapseOne14"> <span class="text-muted">/api/pay/getopenid</span></a> </h4> </div> <div id="collapseOne14" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab14"> <li class="active"><a href="#info14" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox14" data-toggle="tab">在线测试</a></li> <li><a href="#sample14" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info14"> <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="sandbox14"> <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/pay/getopenid" method="get" name="form14" id="form14"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="14">提交</button> <button type="reset" class="btn btn-info" rel="14">重置</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_headers14"></pre> <pre id="response14"></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="sample14"> <div class="row"> <div class="col-md-12"> <pre id="sample_response14">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <h2>Token接口</h2> <hr> <div class="panel panel-default"> <div class="panel-heading" id="heading-15"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion15" href="#collapseOne15"> 检测Token是否过期 <span class="text-muted">/api/token/check</span></a> </h4> </div> <div id="collapseOne15" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab15"> <li class="active"><a href="#info15" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox15" data-toggle="tab">在线测试</a></li> <li><a href="#sample15" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info15"> <div class="well"> 检测Token是否过期 </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="sandbox15"> <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/token/check" method="get" name="form15" id="form15"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="15">提交</button> <button type="reset" class="btn btn-info" rel="15">重置</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_headers15"></pre> <pre id="response15"></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="sample15"> <div class="row"> <div class="col-md-12"> <pre id="sample_response15">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-16"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion16" href="#collapseOne16"> 刷新Token <span class="text-muted">/api/token/refresh</span></a> </h4> </div> <div id="collapseOne16" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab16"> <li class="active"><a href="#info16" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox16" data-toggle="tab">在线测试</a></li> <li><a href="#sample16" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info16"> <div class="well"> 刷新Token </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="sandbox16"> <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/token/refresh" method="get" name="form16" id="form16"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="16">提交</button> <button type="reset" class="btn btn-info" rel="16">重置</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_headers16"></pre> <pre id="response16"></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="sample16"> <div class="row"> <div class="col-md-12"> <pre id="sample_response16">无</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-17"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion17" href="#collapseOne17"> 小程序登录 <span class="text-muted">/api/user/login</span></a> </h4> </div> <div id="collapseOne17" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab17"> <li class="active"><a href="#info17" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox17" data-toggle="tab">在线测试</a></li> <li><a href="#sample17" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info17"> <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"> <table class="table table-hover"> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>是</td> <td>小程序code</td> </tr> <tr> <td>nickname</td> <td>string</td> <td>是</td> <td>小程序昵称</td> </tr> <tr> <td>avatar</td> <td>string</td> <td>是</td> <td>小程序头像</td> </tr> <tr> <td>type</td> <td>inter</td> <td>是</td> <td>是否为苹果用户0否1是</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="sandbox17"> <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="form17" id="form17"> <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"> <label class="control-label" for="nickname">nickname</label> <input type="string" class="form-control input-sm" id="nickname" required placeholder="小程序昵称" name="nickname"> </div> <div class="form-group"> <label class="control-label" for="avatar">avatar</label> <input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar"> </div> <div class="form-group"> <label class="control-label" for="type">type</label> <input type="inter" class="form-control input-sm" id="type" required placeholder="是否为苹果用户0否1是" name="type"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="17">提交</button> <button type="reset" class="btn btn-info" rel="17">重置</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_headers17"></pre> <pre id="response17"></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="sample17"> <div class="row"> <div class="col-md-12"> <pre id="sample_response17">{ "code": 1, "msg": "登录成功", "time": "1553839125", "data": { "token": "677afb39-1a4f-4492-84d3-0bcf32016b8a",//token "user_id": 27,//用户id "createtime": 1553839125,//登录时间 "expiretime": 1556431125,//token失效时间 "expires_in": 2592000//token失效剩余时间(单位s) "openid": 1485212522522//openid }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-48"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion48" href="#collapseOne48"> <span class="text-muted">/api/user/fetch</span></a> </h4> </div> <div id="collapseOne48" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab48"> <li class="active"><a href="#info48" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox48" data-toggle="tab">在线测试</a></li> <li><a href="#sample48" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info48"> <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="sandbox48"> <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/fetch" method="get" name="form48" id="form48"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="48">提交</button> <button type="reset" class="btn btn-info" rel="48">重置</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_headers48"></pre> <pre id="response48"></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="sample48"> <div class="row"> <div class="col-md-12"> <pre id="sample_response48">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-41"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion41" href="#collapseOne41"> 创建图片订单 <span class="text-muted">/api/user/picorder</span></a> </h4> </div> <div id="collapseOne41" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab41"> <li class="active"><a href="#info41" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox41" data-toggle="tab">在线测试</a></li> <li><a href="#sample41" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info41"> <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>pic_id</td> <td>inter</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="sandbox41"> <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/picorder" method="POST" name="form41" id="form41"> <div class="form-group"> <label class="control-label" for="pic_id">pic_id</label> <input type="inter" 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="41">提交</button> <button type="reset" class="btn btn-info" rel="41">重置</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_headers41"></pre> <pre id="response41"></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="sample41"> <div class="row"> <div class="col-md-12"> <pre id="sample_response41">{ "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-42"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion42" href="#collapseOne42"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a> </h4> </div> <div id="collapseOne42" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab42"> <li class="active"><a href="#info42" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox42" data-toggle="tab">在线测试</a></li> <li><a href="#sample42" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info42"> <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>inter</td> <td>是</td> <td>视频ID</td> </tr> <tr> <td>video_attr</td> <td>inter</td> <td>是</td> <td>视频品质属性</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="sandbox42"> <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/v_order" method="POST" name="form42" id="form42"> <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"> <label class="control-label" for="video_attr">video_attr</label> <input type="inter" class="form-control input-sm" id="video_attr" required placeholder="视频品质属性" name="video_attr"> </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="42">提交</button> <button type="reset" class="btn btn-info" rel="42">重置</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_headers42"></pre> <pre id="response42"></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="sample42"> <div class="row"> <div class="col-md-12"> <pre id="sample_response42">{ "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-43"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion43" href="#collapseOne43"> 创建组合订单 <span class="text-muted">/api/user/orders</span></a> </h4> </div> <div id="collapseOne43" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab43"> <li class="active"><a href="#info43" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox43" data-toggle="tab">在线测试</a></li> <li><a href="#sample43" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info43"> <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>video_attr</td> <td>string</td> <td>是</td> <td>视频品质属性(多个以逗号隔开)</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="sandbox43"> <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="form43" id="form43"> <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="video_attr">video_attr</label> <input type="string" class="form-control input-sm" id="video_attr" required placeholder="视频品质属性(多个以逗号隔开)" name="video_attr"> </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="43">提交</button> <button type="reset" class="btn btn-info" rel="43">重置</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_headers43"></pre> <pre id="response43"></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="sample43"> <div class="row"> <div class="col-md-12"> <pre id="sample_response43">{ "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-44"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion44" href="#collapseOne44"> 创建苹果订单 <span class="text-muted">/api/user/iphone_order</span></a> </h4> </div> <div id="collapseOne44" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab44"> <li class="active"><a href="#info44" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox44" data-toggle="tab">在线测试</a></li> <li><a href="#sample44" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info44"> <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>video_attr</td> <td>string</td> <td>是</td> <td>视频品质属性</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="sandbox44"> <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/iphone_order" method="POST" name="form44" id="form44"> <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="video_attr">video_attr</label> <input type="string" class="form-control input-sm" id="video_attr" required placeholder="视频品质属性" name="video_attr"> </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="44">提交</button> <button type="reset" class="btn btn-info" rel="44">重置</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_headers44"></pre> <pre id="response44"></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="sample44"> <div class="row"> <div class="col-md-12"> <pre id="sample_response44">{ "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-45"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion45" href="#collapseOne45"> <span class="text-muted">/api/user/array_merge_more</span></a> </h4> </div> <div id="collapseOne45" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab45"> <li class="active"><a href="#info45" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox45" data-toggle="tab">在线测试</a></li> <li><a href="#sample45" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info45"> <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="sandbox45"> <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/array_merge_more" method="get" name="form45" id="form45"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="45">提交</button> <button type="reset" class="btn btn-info" rel="45">重置</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_headers45"></pre> <pre id="response45"></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="sample45"> <div class="row"> <div class="col-md-12"> <pre id="sample_response45">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-46"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion46" href="#collapseOne46"> 删除订单 <span class="text-muted">/api/user/delorder</span></a> </h4> </div> <div id="collapseOne46" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab46"> <li class="active"><a href="#info46" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox46" data-toggle="tab">在线测试</a></li> <li><a href="#sample46" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info46"> <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>ids[]</td> <td>inter</td> <td>是</td> <td>订单ID</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="sandbox46"> <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/delorder" method="POST" name="form46" id="form46"> <div class="form-group"> <label class="control-label" for="ids[]">ids[]</label> <input type="inter" class="form-control input-sm" id="ids[]" required placeholder="订单ID" name="ids[]"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="46">提交</button> <button type="reset" class="btn btn-info" rel="46">重置</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_headers46"></pre> <pre id="response46"></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="sample46"> <div class="row"> <div class="col-md-12"> <pre id="sample_response46">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-47"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion47" href="#collapseOne47"> 我的订单 <span class="text-muted">/api/user/myorder</span></a> </h4> </div> <div id="collapseOne47" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab47"> <li class="active"><a href="#info47" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox47" data-toggle="tab">在线测试</a></li> <li><a href="#sample47" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info47"> <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>type</td> <td>inter</td> <td>否</td> <td>状态(不传默认为全部 1为待支付 2为已完成</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox47"> <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/myorder" method="POST" name="form47" id="form47"> <div class="form-group"> <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"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="47">提交</button> <button type="reset" class="btn btn-info" rel="47">重置</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_headers47"></pre> <pre id="response47"></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="sample47"> <div class="row"> <div class="col-md-12"> <pre id="sample_response47">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": //用户ID "pic_id": //图片, "video_id": //视频, "status" : //状态(1待支付 2已完成</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-49"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion49" href="#collapseOne49"> <span class="text-muted">/api/user/fetch1</span></a> </h4> </div> <div id="collapseOne49" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab49"> <li class="active"><a href="#info49" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox49" data-toggle="tab">在线测试</a></li> <li><a href="#sample49" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info49"> <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="sandbox49"> <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/fetch1" method="get" name="form49" id="form49"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="49">提交</button> <button type="reset" class="btn btn-info" rel="49">重置</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_headers49"></pre> <pre id="response49"></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="sample49"> <div class="row"> <div class="col-md-12"> <pre id="sample_response49">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-39"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion39" href="#collapseOne39"> 加入购物车 <span class="text-muted">/api/user/addcar</span></a> </h4> </div> <div id="collapseOne39" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab39"> <li class="active"><a href="#info39" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox39" data-toggle="tab">在线测试</a></li> <li><a href="#sample39" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info39"> <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>pic_id</td> <td>inter</td> <td>否</td> <td>图片ID</td> </tr> <tr> <td>video_id</td> <td>inter</td> <td>否</td> <td>视频ID</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="sandbox39"> <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/addcar" method="POST" name="form39" id="form39"> <div class="form-group"> <label class="control-label" for="pic_id">pic_id</label> <input type="inter" class="form-control input-sm" id="pic_id" placeholder="图片ID" name="pic_id"> </div> <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" placeholder="视频ID" name="video_id"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="39">提交</button> <button type="reset" class="btn btn-info" rel="39">重置</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_headers39"></pre> <pre id="response39"></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="sample39"> <div class="row"> <div class="col-md-12"> <pre id="sample_response39">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-50"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion50" href="#collapseOne50"> 消费记录 <span class="text-muted">/api/user/payhistory</span></a> </h4> </div> <div id="collapseOne50" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab50"> <li class="active"><a href="#info50" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox50" data-toggle="tab">在线测试</a></li> <li><a href="#sample50" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info50"> <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>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox50"> <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/payhistory" method="POST" name="form50" id="form50"> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="50">提交</button> <button type="reset" class="btn btn-info" rel="50">重置</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_headers50"></pre> <pre id="response50"></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="sample50"> <div class="row"> <div class="col-md-12"> <pre id="sample_response50">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "times"://时间分段, "info":[ "id": 4,//id, "user_id"://用户ID "pic_id"://图片ID "video_id"://视频ID ], "total"://总价 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-51"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion51" href="#collapseOne51"> 获取sessionkey <span class="text-muted">/api/user/getSessionKey</span></a> </h4> </div> <div id="collapseOne51" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab51"> <li class="active"><a href="#info51" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox51" data-toggle="tab">在线测试</a></li> <li><a href="#sample51" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info51"> <div class="well"> 获取sessionkey </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"> <table class="table table-hover"> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>是</td> <td>code</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="sandbox51"> <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="form51" id="form51"> <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="51">提交</button> <button type="reset" class="btn btn-info" rel="51">重置</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_headers51"></pre> <pre id="response51"></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="sample51"> <div class="row"> <div class="col-md-12"> <pre id="sample_response51">{ "code": 1, "msg": "成功", "time": "1571492001", "data":[ "session_key"://session_key ] }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-52"> <h4 class="panel-title"> <span class="label label-success">GET</span> <a data-toggle="collapse" data-parent="#accordion52" href="#collapseOne52"> <span class="text-muted">/api/user/http_get</span></a> </h4> </div> <div id="collapseOne52" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab52"> <li class="active"><a href="#info52" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox52" data-toggle="tab">在线测试</a></li> <li><a href="#sample52" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info52"> <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="sandbox52"> <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="form52" id="form52"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="52">提交</button> <button type="reset" class="btn btn-info" rel="52">重置</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_headers52"></pre> <pre id="response52"></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="sample52"> <div class="row"> <div class="col-md-12"> <pre id="sample_response52">无</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-53"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion53" href="#collapseOne53"> 获取用户手机号 <span class="text-muted">/api/user/getMobile</span></a> </h4> </div> <div id="collapseOne53" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab53"> <li class="active"><a href="#info53" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox53" data-toggle="tab">在线测试</a></li> <li><a href="#sample53" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info53"> <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"> <table class="table table-hover"> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>sessionKey</td> <td>string</td> <td>是</td> <td>sessionkey</td> </tr> <tr> <td>encryptedData</td> <td>string</td> <td>是</td> <td>encryptedDate</td> </tr> <tr> <td>iv</td> <td>string</td> <td>是</td> <td>iv</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="sandbox53"> <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/getMobile" method="POST" name="form53" id="form53"> <div class="form-group"> <label class="control-label" for="sessionKey">sessionKey</label> <input type="string" class="form-control input-sm" id="sessionKey" required placeholder="sessionkey" name="sessionKey"> </div> <div class="form-group"> <label class="control-label" for="encryptedData">encryptedData</label> <input type="string" class="form-control input-sm" id="encryptedData" required placeholder="encryptedDate" name="encryptedData"> </div> <div class="form-group"> <label class="control-label" for="iv">iv</label> <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="53">提交</button> <button type="reset" class="btn btn-info" rel="53">重置</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_headers53"></pre> <pre id="response53"></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="sample53"> <div class="row"> <div class="col-md-12"> <pre id="sample_response53">{ "code": 1, "msg": "成功", "time": "1571492001", "data":[ "phoneNumber"://手机号 ] }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-54"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion54" href="#collapseOne54"> 绑定用户手机号 <span class="text-muted">/api/user/phone</span></a> </h4> </div> <div id="collapseOne54" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab54"> <li class="active"><a href="#info54" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox54" data-toggle="tab">在线测试</a></li> <li><a href="#sample54" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info54"> <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>phone</td> <td>string</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="sandbox54"> <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/phone" method="POST" name="form54" id="form54"> <div class="form-group"> <label class="control-label" for="phone">phone</label> <input type="string" class="form-control input-sm" id="phone" required placeholder="手机号" name="phone"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="54">提交</button> <button type="reset" class="btn btn-info" rel="54">重置</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_headers54"></pre> <pre id="response54"></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="sample54"> <div class="row"> <div class="col-md-12"> <pre id="sample_response54">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-55"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion55" href="#collapseOne55"> 填写发票信息 <span class="text-muted">/api/user/invoice</span></a> </h4> </div> <div id="collapseOne55" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab55"> <li class="active"><a href="#info55" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox55" data-toggle="tab">在线测试</a></li> <li><a href="#sample55" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info55"> <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>order_id</td> <td>inter</td> <td>是</td> <td>订单ID</td> </tr> <tr> <td>name</td> <td>string</td> <td>是</td> <td>公司名称</td> </tr> <tr> <td>tel</td> <td>string</td> <td>是</td> <td>公司电话</td> </tr> <tr> <td>adress</td> <td>string</td> <td>是</td> <td>公司地址</td> </tr> <tr> <td>duty</td> <td>string</td> <td>是</td> <td>纳税人识别号</td> </tr> <tr> <td>bank</td> <td>string</td> <td>是</td> <td>银行名称</td> </tr> <tr> <td>card</td> <td>string</td> <td>是</td> <td>银行账号</td> </tr> <tr> <td>linkname</td> <td>string</td> <td>是</td> <td>收件人名字</td> </tr> <tr> <td>linktel</td> <td>string</td> <td>是</td> <td>收件人电话</td> </tr> <tr> <td>linkadress</td> <td>string</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="sandbox55"> <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/invoice" method="POST" name="form55" id="form55"> <div class="form-group"> <label class="control-label" for="order_id">order_id</label> <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单ID" name="order_id"> </div> <div class="form-group"> <label class="control-label" for="name">name</label> <input type="string" class="form-control input-sm" id="name" required placeholder="公司名称" name="name"> </div> <div class="form-group"> <label class="control-label" for="tel">tel</label> <input type="string" class="form-control input-sm" id="tel" required placeholder="公司电话" name="tel"> </div> <div class="form-group"> <label class="control-label" for="adress">adress</label> <input type="string" class="form-control input-sm" id="adress" required placeholder="公司地址" name="adress"> </div> <div class="form-group"> <label class="control-label" for="duty">duty</label> <input type="string" class="form-control input-sm" id="duty" required placeholder="纳税人识别号" name="duty"> </div> <div class="form-group"> <label class="control-label" for="bank">bank</label> <input type="string" class="form-control input-sm" id="bank" required placeholder="银行名称" name="bank"> </div> <div class="form-group"> <label class="control-label" for="card">card</label> <input type="string" class="form-control input-sm" id="card" required placeholder="银行账号" name="card"> </div> <div class="form-group"> <label class="control-label" for="linkname">linkname</label> <input type="string" class="form-control input-sm" id="linkname" required placeholder="收件人名字" name="linkname"> </div> <div class="form-group"> <label class="control-label" for="linktel">linktel</label> <input type="string" class="form-control input-sm" id="linktel" required placeholder="收件人电话" name="linktel"> </div> <div class="form-group"> <label class="control-label" for="linkadress">linkadress</label> <input type="string" class="form-control input-sm" id="linkadress" required placeholder="收件人地址" name="linkadress"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="55">提交</button> <button type="reset" class="btn btn-info" rel="55">重置</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_headers55"></pre> <pre id="response55"></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="sample55"> <div class="row"> <div class="col-md-12"> <pre id="sample_response55">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-56"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion56" href="#collapseOne56"> 填写授权书信息 <span class="text-muted">/api/user/show</span></a> </h4> </div> <div id="collapseOne56" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab56"> <li class="active"><a href="#info56" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox56" data-toggle="tab">在线测试</a></li> <li><a href="#sample56" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info56"> <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>order_id</td> <td>inter</td> <td>是</td> <td>订单ID</td> </tr> <tr> <td>name</td> <td>string</td> <td>是</td> <td>使用人</td> </tr> <tr> <td>use</td> <td>string</td> <td>是</td> <td>用途</td> </tr> <tr> <td>tel</td> <td>string</td> <td>是</td> <td>联系方式</td> </tr> <tr> <td>email</td> <td>string</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="sandbox56"> <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/show" method="POST" name="form56" id="form56"> <div class="form-group"> <label class="control-label" for="order_id">order_id</label> <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单ID" name="order_id"> </div> <div class="form-group"> <label class="control-label" for="name">name</label> <input type="string" class="form-control input-sm" id="name" required placeholder="使用人" name="name"> </div> <div class="form-group"> <label class="control-label" for="use">use</label> <input type="string" class="form-control input-sm" id="use" required placeholder="用途" name="use"> </div> <div class="form-group"> <label class="control-label" for="tel">tel</label> <input type="string" class="form-control input-sm" id="tel" required placeholder="联系方式" name="tel"> </div> <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"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="56">提交</button> <button type="reset" class="btn btn-info" rel="56">重置</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_headers56"></pre> <pre id="response56"></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="sample56"> <div class="row"> <div class="col-md-12"> <pre id="sample_response56">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-57"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion57" href="#collapseOne57"> 投诉与建议 <span class="text-muted">/api/user/suggest</span></a> </h4> </div> <div id="collapseOne57" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab57"> <li class="active"><a href="#info57" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox57" data-toggle="tab">在线测试</a></li> <li><a href="#sample57" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info57"> <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>title</td> <td>string</td> <td>是</td> <td>标题</td> </tr> <tr> <td>content</td> <td>string</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="sandbox57"> <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/suggest" method="POST" name="form57" id="form57"> <div class="form-group"> <label class="control-label" for="title">title</label> <input type="string" class="form-control input-sm" id="title" required placeholder="标题" name="title"> </div> <div class="form-group"> <label class="control-label" for="content">content</label> <input type="string" class="form-control input-sm" id="content" required placeholder="内容" name="content"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="57">提交</button> <button type="reset" class="btn btn-info" rel="57">重置</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_headers57"></pre> <pre id="response57"></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="sample57"> <div class="row"> <div class="col-md-12"> <pre id="sample_response57">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-40"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion40" href="#collapseOne40"> 删除购物车商品 <span class="text-muted">/api/user/delcar</span></a> </h4> </div> <div id="collapseOne40" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab40"> <li class="active"><a href="#info40" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox40" data-toggle="tab">在线测试</a></li> <li><a href="#sample40" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info40"> <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>ids[]</td> <td>inter</td> <td>是</td> <td>购物车ID</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="sandbox40"> <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/delcar" method="POST" name="form40" id="form40"> <div class="form-group"> <label class="control-label" for="ids[]">ids[]</label> <input type="inter" class="form-control input-sm" id="ids[]" required placeholder="购物车ID" name="ids[]"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="40">提交</button> <button type="reset" class="btn btn-info" rel="40">重置</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_headers40"></pre> <pre id="response40"></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="sample40"> <div class="row"> <div class="col-md-12"> <pre id="sample_response40">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-38"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion38" href="#collapseOne38"> 购物车列表 <span class="text-muted">/api/user/car</span></a> </h4> </div> <div id="collapseOne38" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab38"> <li class="active"><a href="#info38" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox38" data-toggle="tab">在线测试</a></li> <li><a href="#sample38" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info38"> <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"> 无 </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="sandbox38"> <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/car" method="POST" name="form38" id="form38"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="38">提交</button> <button type="reset" class="btn btn-info" rel="38">重置</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_headers38"></pre> <pre id="response38"></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="sample38"> <div class="row"> <div class="col-md-12"> <pre id="sample_response38">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id"://购物车ID "user_id"://用户ID "pic_id"://图片的ID "video_id"://视频的ID "pic":[ "id"://图片ID "title"://图片标题 "thumbnail"://缩略图 "url"://高清百度云盘地址 "price"://普通价格 "vip_price"://vip价格 ], "video":[ "id"://视频ID "title"://视频标题 "thumbnail"://视频封面图片 "video"://视频地址 "two_url"://2K视频云盘地址 "four_url"://4k视频云盘地址 "eight_url"://8k视频云盘地址 "price"://2k视频原价格 "four_price"://4k视频原价格 "eight_price"://8k视频原价格 "vip_price"://2k会员价格 "four_vipprice"://4k会员价格 "eight_vipprice"://8k会员价格 ] } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-18"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion18" href="#collapseOne18"> 首页flash接口 <span class="text-muted">/api/user/cover</span></a> </h4> </div> <div id="collapseOne18" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab18"> <li class="active"><a href="#info18" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox18" data-toggle="tab">在线测试</a></li> <li><a href="#sample18" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info18"> <div class="well"> 首页flash接口 </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="sandbox18"> <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/cover" method="POST" name="form18" id="form18"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="18">提交</button> <button type="reset" class="btn btn-info" rel="18">重置</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_headers18"></pre> <pre id="response18"></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="sample18"> <div class="row"> <div class="col-md-12"> <pre id="sample_response18">{ 'code':'1', 'msg':'返回成功', "time": "1571492001", "data": { "thumbnail": //封面图地址 "createtime": //创建时间 "updatetime": //修改时间 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-27"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 精美大片列表 <span class="text-muted">/api/user/won</span></a> </h4> </div> <div id="collapseOne27" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab27"> <li class="active"><a href="#info27" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox27" data-toggle="tab">在线测试</a></li> <li><a href="#sample27" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info27"> <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>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox27"> <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/won" method="POST" name="form27" id="form27"> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="27">提交</button> <button type="reset" class="btn btn-info" rel="27">重置</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_headers27"></pre> <pre id="response27"></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="sample27"> <div class="row"> <div class="col-md-12"> <pre id="sample_response27">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": //图片id, "thumbnail": //视频封面, "video"://视频地址 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-19"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion19" href="#collapseOne19"> 分享封面接口 <span class="text-muted">/api/user/share</span></a> </h4> </div> <div id="collapseOne19" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab19"> <li class="active"><a href="#info19" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox19" data-toggle="tab">在线测试</a></li> <li><a href="#sample19" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info19"> <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="sandbox19"> <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/share" method="POST" name="form19" id="form19"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="19">提交</button> <button type="reset" class="btn btn-info" rel="19">重置</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_headers19"></pre> <pre id="response19"></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="sample19"> <div class="row"> <div class="col-md-12"> <pre id="sample_response19">{ 'code':'1', 'msg':'返回成功', "time": "1571492001", "data": { "thumbnail": //分享图地址 "createtime": //创建时间 "updatetime": //修改时间 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-20"> <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/index</span></a> </h4> </div> <div id="collapseOne20" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info20"> <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"> 无 </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="sandbox20"> <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/index" method="POST" name="form20" id="form20"> <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> </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_headers20"></pre> <pre id="response20"></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="sample20"> <div class="row"> <div class="col-md-12"> <pre id="sample_response20">{ 'code':'1', 'msg':'返回成功', "time": "1571492001", "data": { "thumbnail": //大片封面图地址 "iamge": //图片地址 "pic": //精美大片地址 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-21"> <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/type</span></a> </h4> </div> <div id="collapseOne21" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info21"> <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"> 无 </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="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/type" method="POST" name="form21" id="form21"> <div class="form-group"> 无 </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> </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_headers21"></pre> <pre id="response21"></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="sample21"> <div class="row"> <div class="col-md-12"> <pre id="sample_response21">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": 4,//分类id "area_name": //分类名称 "thumbnail": //图片 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-22"> <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/pictype</span></a> </h4> </div> <div id="collapseOne22" 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> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info22"> <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"> 无 </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/pictype" method="POST" name="form22" id="form22"> <div class="form-group"> 无 </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": { "id": 4,//分类id "typename": //分类名称 "thumbnail": //图片 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-23"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 搜索页 <span class="text-muted">/api/user/search</span></a> </h4> </div> <div id="collapseOne23" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab23"> <li class="active"><a href="#info23" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox23" data-toggle="tab">在线测试</a></li> <li><a href="#sample23" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info23"> <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>type_id</td> <td>inter</td> <td>否</td> <td>视频/图片(视频为1 图片为2)</td> </tr> <tr> <td>keyword</td> <td>string</td> <td>是</td> <td>关键字(多个用空格分开</td> </tr> <tr> <td>address</td> <td>string</td> <td>是</td> <td>地名关键词数组</td> </tr> <tr> <td>text</td> <td>string</td> <td>是</td> <td>内容关键词数组</td> </tr> <tr> <td>price</td> <td>string</td> <td>是</td> <td>价格数组</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox23"> <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/search" method="POST" name="form23" id="form23"> <div class="form-group"> <label class="control-label" for="type_id">type_id</label> <input type="inter" class="form-control input-sm" id="type_id" placeholder="视频/图片(视频为1 图片为2)" name="type_id"> </div> <div class="form-group"> <label class="control-label" for="keyword">keyword</label> <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字(多个用空格分开" name="keyword"> </div> <div class="form-group"> <label class="control-label" for="address">address</label> <input type="string" class="form-control input-sm" id="address" required placeholder="地名关键词数组" name="address"> </div> <div class="form-group"> <label class="control-label" for="text">text</label> <input type="string" class="form-control input-sm" id="text" required placeholder="内容关键词数组" name="text"> </div> <div class="form-group"> <label class="control-label" for="price">price</label> <input type="string" class="form-control input-sm" id="price" required placeholder="价格数组" name="price"> </div> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="23">提交</button> <button type="reset" class="btn btn-info" rel="23">重置</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_headers23"></pre> <pre id="response23"></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="sample23"> <div class="row"> <div class="col-md-12"> <pre id="sample_response23">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": 4,//视频id/图片id, "thumbnail": //视频封面图地址/图片地址, "video": //视频路径/精美大片视频路径, } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-24"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 图片列表 <span class="text-muted">/api/user/pic</span></a> </h4> </div> <div id="collapseOne24" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab24"> <li class="active"><a href="#info24" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox24" data-toggle="tab">在线测试</a></li> <li><a href="#sample24" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info24"> <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>pictype_id</td> <td>inter</td> <td>否</td> <td>类型ID</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox24"> <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/pic" method="POST" name="form24" id="form24"> <div class="form-group"> <label class="control-label" for="pictype_id">pictype_id</label> <input type="inter" class="form-control input-sm" id="pictype_id" placeholder="类型ID" name="pictype_id"> </div> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="24">提交</button> <button type="reset" class="btn btn-info" rel="24">重置</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_headers24"></pre> <pre id="response24"></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="sample24"> <div class="row"> <div class="col-md-12"> <pre id="sample_response24">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": 4,//图片id, "thumbnail": //缩略图, } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-25"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 分类下的图片视频 <span class="text-muted">/api/user/pic_video</span></a> </h4> </div> <div id="collapseOne25" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab25"> <li class="active"><a href="#info25" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox25" data-toggle="tab">在线测试</a></li> <li><a href="#sample25" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info25"> <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>type_id</td> <td>inter</td> <td>是</td> <td>地区ID</td> </tr> <tr> <td>type</td> <td>inter</td> <td>否</td> <td>类型ID(图片为1 视频为2)</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox25"> <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/pic_video" method="POST" name="form25" id="form25"> <div class="form-group"> <label class="control-label" for="type_id">type_id</label> <input type="inter" class="form-control input-sm" id="type_id" required placeholder="地区ID" name="type_id"> </div> <div class="form-group"> <label class="control-label" for="type">type</label> <input type="inter" class="form-control input-sm" id="type" placeholder="类型ID(图片为1 视频为2)" name="type"> </div> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="25">提交</button> <button type="reset" class="btn btn-info" rel="25">重置</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_headers25"></pre> <pre id="response25"></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="sample25"> <div class="row"> <div class="col-md-12"> <pre id="sample_response25">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": 4,//图片id, "thumbnail": //缩略图, } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-26"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 视频列表 <span class="text-muted">/api/user/video</span></a> </h4> </div> <div id="collapseOne26" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab26"> <li class="active"><a href="#info26" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox26" data-toggle="tab">在线测试</a></li> <li><a href="#sample26" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info26"> <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>type_id</td> <td>inter</td> <td>否</td> <td>地区ID</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox26"> <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/video" method="POST" name="form26" id="form26"> <div class="form-group"> <label class="control-label" for="type_id">type_id</label> <input type="inter" class="form-control input-sm" id="type_id" placeholder="地区ID" name="type_id"> </div> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="26">提交</button> <button type="reset" class="btn btn-info" rel="26">重置</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_headers26"></pre> <pre id="response26"></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="sample26"> <div class="row"> <div class="col-md-12"> <pre id="sample_response26">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": //图片id, "thumbnail": //视频封面, "video"://视频地址 } }</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/picdetail</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"> <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>pic_id</td> <td>inter</td> <td>是</td> <td>图片ID</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="sandbox28"> <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/picdetail" method="POST" name="form28" id="form28"> <div class="form-group"> <label class="control-label" for="pic_id">pic_id</label> <input type="inter" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id"> </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> </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_headers28"></pre> <pre id="response28"></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="sample28"> <div class="row"> <div class="col-md-12"> <pre id="sample_response28">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": 4,//图片id, "title"://标题 "thumbnail": //缩略图, "accredit": //授权书图片 "water_url": //小样带水印的图片地址, "price"://正常价格, "vip_price"://vip价格, "content"://图片介绍, "is_vip"://是否为会员(0否 1是) } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-37"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion37" href="#collapseOne37"> 会员须知 <span class="text-muted">/api/user/vipdetail</span></a> </h4> </div> <div id="collapseOne37" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab37"> <li class="active"><a href="#info37" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox37" data-toggle="tab">在线测试</a></li> <li><a href="#sample37" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info37"> <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"> 无 </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="sandbox37"> <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/vipdetail" method="POST" name="form37" id="form37"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="37">提交</button> <button type="reset" class="btn btn-info" rel="37">重置</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_headers37"></pre> <pre id="response37"></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="sample37"> <div class="row"> <div class="col-md-12"> <pre id="sample_response37">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "text": //会员须知内容 } }</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/videodetail</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>inter</td> <td>是</td> <td>视频ID</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/videodetail" method="POST" name="form29" id="form29"> <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="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": { "id": 4,//视频id, "title"://标题 "keyword"://关键字 "accredit": //授权书图片 "thumbnail": //视频封面图, "video": //2K视频地址, "water_url"://小样视频网址 "price"://2K价格, "vip_price"://2Kvip价格, "four_price"://4K价格, "four_vipprice"://4Kvip价格, "eight_price"://8K价格, "eight_vipprice"://8Kvip价格, "content"://图片介绍, "is_vip"://是否为会员(0否 1是) } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-30"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 是否购买过 <span class="text-muted">/api/user/videodetail</span></a> </h4> </div> <div id="collapseOne30" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <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="info30"> <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>inter</td> <td>是</td> <td>视频ID</td> </tr> <tr> <td>attr</td> <td>inter</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="sandbox30"> <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/videodetail" method="POST" name="form30" id="form30"> <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"> <label class="control-label" for="attr">attr</label> <input type="inter" class="form-control input-sm" id="attr" required placeholder="视频属性" name="attr"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="30">提交</button> <button type="reset" class="btn btn-info" rel="30">重置</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_headers30"></pre> <pre id="response30"></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="sample30"> <div class="row"> <div class="col-md-12"> <pre id="sample_response30">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "is_buy"://是否购买过1购买过2没有 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-31"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 搜索关键词内容 <span class="text-muted">/api/user/words</span></a> </h4> </div> <div id="collapseOne31" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab31"> <li class="active"><a href="#info31" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox31" data-toggle="tab">在线测试</a></li> <li><a href="#sample31" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info31"> <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"> 无 </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="sandbox31"> <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/words" method="POST" name="form31" id="form31"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="31">提交</button> <button type="reset" class="btn btn-info" rel="31">重置</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_headers31"></pre> <pre id="response31"></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="sample31"> <div class="row"> <div class="col-md-12"> <pre id="sample_response31">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id"://记录id, "name"://关键字名称 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-32"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion32" href="#collapseOne32"> 通过详情页关键词搜索 <span class="text-muted">/api/user/search_key</span></a> </h4> </div> <div id="collapseOne32" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab32"> <li class="active"><a href="#info32" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox32" data-toggle="tab">在线测试</a></li> <li><a href="#sample32" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info32"> <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> <tr> <td>type</td> <td>string</td> <td>是</td> <td>类型(视频1图片2</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>keyword</td> <td>string</td> <td>是</td> <td>关键字</td> </tr> <tr> <td>page</td> <td>inter</td> <td>否</td> <td>当前页(默认1</td> </tr> <tr> <td>pageNum</td> <td>inter</td> <td>否</td> <td>每页显示数据个数(默认10)</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="sandbox32"> <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 class="form-group"> <label class="control-label" for="type">type</label> <input type="string" class="form-control input-sm" id="type" required placeholder="类型(视频1图片2 - Ex: " name="type"> </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/search_key" method="POST" name="form32" id="form32"> <div class="form-group"> <label class="control-label" for="keyword">keyword</label> <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字" name="keyword"> </div> <div class="form-group"> <label class="control-label" for="page">page</label> <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> </div> <div class="form-group"> <label class="control-label" for="pageNum">pageNum</label> <input type="inter" class="form-control input-sm" id="pageNum" placeholder="每页显示数据个数(默认10)" name="pageNum"> </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="32">提交</button> <button type="reset" class="btn btn-info" rel="32">重置</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_headers32"></pre> <pre id="response32"></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="sample32"> <div class="row"> <div class="col-md-12"> <pre id="sample_response32">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": //id, "thumbnail": //视频封面, "title"://视频标题 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-33"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion33" href="#collapseOne33"> 我的 <span class="text-muted">/api/user/mine</span></a> </h4> </div> <div id="collapseOne33" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab33"> <li class="active"><a href="#info33" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox33" data-toggle="tab">在线测试</a></li> <li><a href="#sample33" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info33"> <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"> 无 </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="sandbox33"> <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/mine" method="POST" name="form33" id="form33"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="33">提交</button> <button type="reset" class="btn btn-info" rel="33">重置</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_headers33"></pre> <pre id="response33"></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="sample33"> <div class="row"> <div class="col-md-12"> <pre id="sample_response33">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "id": //用户ID "nickname": //昵称, "avatar": //头像, "money" : //余额 "is_vip": //是否为会员(0否 1是</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-34"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion34" href="#collapseOne34"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a> </h4> </div> <div id="collapseOne34" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab34"> <li class="active"><a href="#info34" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox34" data-toggle="tab">在线测试</a></li> <li><a href="#sample34" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info34"> <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>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="sandbox34"> <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="form34" id="form34"> <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="34">提交</button> <button type="reset" class="btn btn-info" rel="34">重置</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_headers34"></pre> <pre id="response34"></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="sample34"> <div class="row"> <div class="col-md-12"> <pre id="sample_response34">{ "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-35"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion35" href="#collapseOne35"> 创建开通会员订单 <span class="text-muted">/api/user/viporder</span></a> </h4> </div> <div id="collapseOne35" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab35"> <li class="active"><a href="#info35" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox35" data-toggle="tab">在线测试</a></li> <li><a href="#sample35" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info35"> <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>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="sandbox35"> <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/viporder" method="POST" name="form35" id="form35"> <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="35">提交</button> <button type="reset" class="btn btn-info" rel="35">重置</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_headers35"></pre> <pre id="response35"></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="sample35"> <div class="row"> <div class="col-md-12"> <pre id="sample_response35">{ "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-36"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 会员介绍 <span class="text-muted">/api/user/vipdesc</span></a> </h4> </div> <div id="collapseOne36" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab36"> <li class="active"><a href="#info36" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox36" data-toggle="tab">在线测试</a></li> <li><a href="#sample36" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info36"> <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"> 无 </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="sandbox36"> <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/vipdesc" method="POST" name="form36" id="form36"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="36">提交</button> <button type="reset" class="btn btn-info" rel="36">重置</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_headers36"></pre> <pre id="response36"></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="sample36"> <div class="row"> <div class="col-md-12"> <pre id="sample_response36">{ "code": 1, "msg": "成功", "time": "1571492001", "data": { "content": //会员介绍内容 } }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" id="heading-58"> <h4 class="panel-title"> <span class="label label-primary">POST</span> <a data-toggle="collapse" data-parent="#accordion58" href="#collapseOne58"> 切换数值 <span class="text-muted">/api/user/change</span></a> </h4> </div> <div id="collapseOne58" class="panel-collapse collapse"> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs" id="doctab58"> <li class="active"><a href="#info58" data-toggle="tab">基础信息</a></li> <li><a href="#sandbox58" data-toggle="tab">在线测试</a></li> <li><a href="#sample58" data-toggle="tab">返回示例</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="info58"> <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="sandbox58"> <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/change" method="POST" name="form58" id="form58"> <div class="form-group"> 无 </div> <div class="form-group"> <button type="submit" class="btn btn-success send" rel="58">提交</button> <button type="reset" class="btn btn-info" rel="58">重置</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_headers58"></pre> <pre id="response58"></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="sample58"> <div class="row"> <div class="col-md-12"> <pre id="sample_response58">{ "code": 1, "msg": "成功", "time": "1571492001", }</pre> </div> </div> </div><!-- #sample --> </div><!-- .tab-content --> </div> </div> </div> </div> <hr> <div class="row mt0 footer"> <div class="col-md-6" align="left"> Generated on 2020-08-12 19:04:21 </div> <div class="col-md-6" align="right"> <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a> </div> </div> </div> <!-- /container --> <!-- jQuery --> <script src="https://cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> <script type="text/javascript"> function syntaxHighlight(json) { if (typeof json != 'string') { json = JSON.stringify(json, undefined, 2); } json = json.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) { var cls = 'number'; if (/^"/.test(match)) { if (/:$/.test(match)) { cls = 'key'; } else { cls = 'string'; } } else if (/true|false/.test(match)) { cls = 'boolean'; } else if (/null/.test(match)) { cls = 'null'; } return '<span class="' + cls + '">' + match + '</span>'; }); } function prepareStr(str) { try { return syntaxHighlight(JSON.stringify(JSON.parse(str.replace(/'/g, '"')), null, 2)); } catch (e) { return str; } } var storage = (function () { var uid = new Date; var storage; var result; try { (storage = window.localStorage).setItem(uid, uid); result = storage.getItem(uid) == uid; storage.removeItem(uid); return result && storage; } catch (exception) { } }()); $.fn.serializeObject = function () { var o = {}; var a = this.serializeArray(); $.each(a, function () { if (!this.value) { return; } if (o[this.name] !== undefined) { if (!o[this.name].push) { o[this.name] = [o[this.name]]; } o[this.name].push(this.value || ''); } else { o[this.name] = this.value || ''; } }); return o; }; $(document).ready(function () { if (storage) { storage.getItem('token') && $('#token').val(storage.getItem('token')); storage.getItem('apiUrl') && $('#apiUrl').val(storage.getItem('apiUrl')); } $('[data-toggle="tooltip"]').tooltip({ placement: 'bottom' }); $(window).on("resize", function(){ $("#sidebar").css("max-height", $(window).height()-80); }); $(window).trigger("resize"); $(document).on("click", "#sidebar .list-group > .list-group-item", function(){ $("#sidebar .list-group > .list-group-item").removeClass("current"); $(this).addClass("current"); }); $(document).on("click", "#sidebar .child a", function(){ var heading = $("#heading-"+$(this).data("id")); if(!heading.next().hasClass("in")){ $("a", heading).trigger("click"); } $("html,body").animate({scrollTop:heading.offset().top-70}); }); $('code[id^=response]').hide(); $.each($('pre[id^=sample_response],pre[id^=sample_post_body]'), function () { if ($(this).html() == 'NA') { return; } var str = prepareStr($(this).html()); $(this).html(str); }); $("[data-toggle=popover]").popover({placement: 'right'}); $('[data-toggle=popover]').on('shown.bs.popover', function () { var $sample = $(this).parent().find(".popover-content"), str = $(this).data('content'); if (typeof str == "undefined" || str === "") { return; } var str = prepareStr(str); $sample.html('<pre>' + str + '</pre>'); }); $('body').on('click', '#save_data', function (e) { if (storage) { storage.setItem('token', $('#token').val()); storage.setItem('apiUrl', $('#apiUrl').val()); } else { alert('Your browser does not support local storage'); } }); $('body').on('click', '.send', function (e) { e.preventDefault(); var form = $(this).closest('form'); //added /g to get all the matched params instead of only first var matchedParamsInRoute = $(form).attr('action').match(/[^{]+(?=\})/g); var theId = $(this).attr('rel'); //keep a copy of action attribute in order to modify the copy //instead of the initial attribute var url = $(form).attr('action'); var method = $(form).prop('method').toLowerCase() || 'get'; var formData = new FormData(); $(form).find('input').each(function (i, input) { if ($(input).attr('type').toLowerCase() == 'file') { formData.append($(input).attr('name'), $(input)[0].files[0]); method = 'post'; } else { formData.append($(input).attr('name'), $(input).val()) } }); var index, key, value; if (matchedParamsInRoute) { var params = {}; formData.forEach(function(value, key){ params[key] = value; }); for (index = 0; index < matchedParamsInRoute.length; ++index) { try { key = matchedParamsInRoute[index]; value = params[key]; if (typeof value == "undefined") value = ""; url = url.replace("\{" + key + "\}", value); formData.delete(key); } catch (err) { console.log(err); } } } var headers = {}; var token = $('#token').val(); if (token.length > 0) { headers['token'] = token; } $("#sandbox" + theId + " .headers input[type=text]").each(function () { val = $(this).val(); if (val.length > 0) { headers[$(this).prop('name')] = val; } }); $.ajax({ url: $('#apiUrl').val() + url, data: method == 'get' ? $(form).serialize() : formData, type: method, dataType: 'json', contentType: false, processData: false, headers: headers, xhrFields: { withCredentials: true }, success: function (data, textStatus, xhr) { if (typeof data === 'object') { var str = JSON.stringify(data, null, 2); $('#response' + theId).html(syntaxHighlight(str)); } else { $('#response' + theId).html(data || ''); } $('#response_headers' + theId).html('HTTP ' + xhr.status + ' ' + xhr.statusText + '<br/><br/>' + xhr.getAllResponseHeaders()); $('#response' + theId).show(); }, error: function (xhr, textStatus, error) { try { var str = JSON.stringify($.parseJSON(xhr.responseText), null, 2); } catch (e) { var str = xhr.responseText; } $('#response_headers' + theId).html('HTTP ' + xhr.status + ' ' + xhr.statusText + '<br/><br/>' + xhr.getAllResponseHeaders()); $('#response' + theId).html(syntaxHighlight(str)); $('#response' + theId).show(); } }); return false; }); }); </script> </body> </html>