审查视图

public/api.html 312.0 KB
郭盛 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
<!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="航拍视频">
        <title>航拍视频</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">航拍视频</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>
                                            </div>
郭盛 authored
147 148
                                        <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="支付接口">
149
                                                <a href="javascript:;" data-id="2" class="list-group-item">充值支付</a>
郭盛 authored
150
                                                <a href="javascript:;" data-id="3" class="list-group-item">图片购买支付</a>
郭盛 authored
151
                                                <a href="javascript:;" data-id="4" class="list-group-item">视频购买支付</a>
郭盛 authored
152
                                                <a href="javascript:;" data-id="5" class="list-group-item"></a>
郭盛 authored
153 154 155
                                                <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>
郭盛 authored
156
                                            </div>
郭盛 authored
157 158
                                        <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接口">
郭盛 authored
159 160
                                                <a href="javascript:;" data-id="9" class="list-group-item">检测Token是否过期</a>
                                                <a href="javascript:;" data-id="10" class="list-group-item">刷新Token</a>
郭盛 authored
161 162 163
                                            </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="个人中心">
郭盛 authored
164
                                                <a href="javascript:;" data-id="11" class="list-group-item">小程序登录</a>
郭盛 authored
165 166 167
                                                <a href="javascript:;" data-id="22" class="list-group-item">创建充值订单</a>
                                                <a href="javascript:;" data-id="29" class="list-group-item">创建组合订单</a>
                                                <a href="javascript:;" data-id="28" class="list-group-item">创建视频订单</a>
郭盛 authored
168 169 170 171 172
                                                <a href="javascript:;" data-id="27" class="list-group-item">创建图片订单</a>
                                                <a href="javascript:;" data-id="26" class="list-group-item">加入购物车</a>
                                                <a href="javascript:;" data-id="25" class="list-group-item">购物车列表</a>
                                                <a href="javascript:;" data-id="24" class="list-group-item">会员须知</a>
                                                <a href="javascript:;" data-id="23" class="list-group-item">会员介绍</a>
郭盛 authored
173
                                                <a href="javascript:;" data-id="21" class="list-group-item">我的</a>
郭盛 authored
174
                                                <a href="javascript:;" data-id="12" class="list-group-item">首页视频、图片、精美大片入口</a>
郭盛 authored
175
                                                <a href="javascript:;" data-id="20" class="list-group-item">历史记录</a>
郭盛 authored
176 177 178 179 180 181 182
                                                <a href="javascript:;" data-id="19" class="list-group-item">视频详情</a>
                                                <a href="javascript:;" data-id="18" class="list-group-item">图片详情</a>
                                                <a href="javascript:;" data-id="17" class="list-group-item">精美大片列表</a>
                                                <a href="javascript:;" data-id="16" class="list-group-item">视频列表</a>
                                                <a href="javascript:;" data-id="15" class="list-group-item">图片列表</a>
                                                <a href="javascript:;" data-id="14" class="list-group-item">搜索页</a>
                                                <a href="javascript:;" data-id="13" class="list-group-item">地区分类</a>
郭盛 authored
183
                                                <a href="javascript:;" data-id="30" class="list-group-item">我的订单</a>
郭盛 authored
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429
                                            </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/init</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">
                                                                                        <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="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/init" method="get" name="form0" id="form0">
                                                                                                                <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="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-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 上传文件 <span class="text-muted">/api/common/upload</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>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="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/upload" method="POST" name="form1" id="form1">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="file">file</label>
                                                            <input type="File" class="form-control input-sm" id="file" required placeholder="文件流" name="file">
                                                        </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>
430
                                <h2>支付接口</h2>
郭盛 authored
431 432 433 434
                <hr>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-2">
                        <h4 class="panel-title">
435 436
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 充值支付 <span class="text-muted">/api/pay/pay</span></a>
郭盛 authored
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
                        </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">
454
                                        充值支付                                    </div>
郭盛 authored
455 456 457
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
                                                                                        <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>
郭盛 authored
476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
                                                                                    </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>
492 493
                                                        <td>order_id</td>
                                                        <td>inter</td>
郭盛 authored
494
                                                        <td></td>
495
                                                        <td>订单id</td>
郭盛 authored
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
                                                    </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">
512
                                                <div class="panel-heading"><strong>Headers</strong></div>
郭盛 authored
513
                                                <div class="panel-body">
514
                                                    <div class="headers">
郭盛 authored
515
                                                                                                                <div class="form-group">
516 517
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
郭盛 authored
518
                                                        </div>
519 520 521 522 523 524 525
                                                                                                            </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="form2" id="form2">
郭盛 authored
526
                                                                                                                <div class="form-group">
527 528
                                                            <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">
郭盛 authored
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
                                                        </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">
郭盛 authored
551
郭盛 authored
552 553 554 555 556 557 558 559 560
                                                                                                    </div>
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- #sandbox -->

                                <div class="tab-pane" id="sample2">
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
561
                                            <pre id="sample_response2"></pre>
郭盛 authored
562 563 564 565 566 567 568 569 570 571 572
                                        </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">
郭盛 authored
573 574
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 图片购买支付 <span class="text-muted">/api/pay/picpay</span></a>
郭盛 authored
575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
                        </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">
郭盛 authored
592
                                        图片购买支付                                    </div>
郭盛 authored
593 594 595
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
郭盛 authored
596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
                                                                                        <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>
郭盛 authored
614 615 616 617 618
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
郭盛 authored
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
                                                                                        <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>
郭盛 authored
635 636 637 638 639 640
                                                                                                        <tr>
                                                        <td>type</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>支付方式 1 为余额支付 2为微信支付</td>
                                                    </tr>
郭盛 authored
641 642
                                                                                                    </tbody>
                                            </table>
郭盛 authored
643 644 645 646 647 648 649 650 651 652 653 654 655
                                                                                    </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">
郭盛 authored
656 657 658 659 660 661 662 663 664 665 666
                                                <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">
郭盛 authored
667 668
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
669
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/picpay" method="POST" name="form3" id="form3">
郭盛 authored
670
                                                                                                                <div class="form-group">
郭盛 authored
671 672
                                                            <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">
郭盛 authored
673 674
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
675 676 677 678
                                                            <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">
郭盛 authored
679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720
                                                            <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>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-4">
                        <h4 class="panel-title">
郭盛 authored
721 722
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 视频购买支付 <span class="text-muted">/api/pay/videopay</span></a>
郭盛 authored
723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739
                        </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">
郭盛 authored
740
                                        视频购买支付                                    </div>
郭盛 authored
741 742 743
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
郭盛 authored
744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761
                                                                                        <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>
郭盛 authored
762 763 764 765 766
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
郭盛 authored
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790
                                                                                        <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>
郭盛 authored
791 792 793 794 795 796 797 798 799 800 801 802 803
                                                                                    </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">
郭盛 authored
804 805 806 807 808 809 810 811 812 813 814
                                                <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">
郭盛 authored
815 816
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
817
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/videopay" method="POST" name="form4" id="form4">
郭盛 authored
818
                                                                                                                <div class="form-group">
郭盛 authored
819 820 821 822 823 824
                                                            <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">
郭盛 authored
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
                                                        </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>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-5">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
郭盛 authored
870
                            <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5">  <span class="text-muted">/api/pay/payOrderNotify</span></a>
郭盛 authored
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887
                        </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">
郭盛 authored
888
                                                                            </div>
郭盛 authored
889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
                                    <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="sandbox5">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
914
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/payOrderNotify" method="get" name="form5" id="form5">
郭盛 authored
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957
                                                                                                                <div class="form-group">

                                                        </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>
郭盛 authored
958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-6">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6">  <span class="text-muted">/api/pay/picOrderNotify</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">

                                                                                    </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="sandbox6">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/picOrderNotify" method="get" name="form6" id="form6">
                                                                                                                <div class="form-group">

                                                        </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-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7">  <span class="text-muted">/api/pay/videoOrderNotify</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">

                                                                                    </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="sandbox7">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/videoOrderNotify" method="get" name="form7" id="form7">
                                                                                                                <div class="form-group">

                                                        </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-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8">  <span class="text-muted">/api/pay/getopenid</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">

                                                                                    </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="sandbox8">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/getopenid" method="get" name="form8" id="form8">
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="8">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="8">重置</button>
                                                        </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>
郭盛 authored
1234 1235
                                <h2>Token接口</h2>
                <hr>
郭盛 authored
1236
                                <div class="panel panel-default">
郭盛 authored
1237
                    <div class="panel-heading" id="heading-9">
郭盛 authored
1238
                        <h4 class="panel-title">
郭盛 authored
1239
                            <span class="label label-success">GET</span>
郭盛 authored
1240
                            <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 检测Token是否过期 <span class="text-muted">/api/token/check</span></a>
郭盛 authored
1241 1242
                        </h4>
                    </div>
郭盛 authored
1243
                    <div id="collapseOne9" class="panel-collapse collapse">
郭盛 authored
1244 1245 1246
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
1247 1248 1249 1250
                            <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>
郭盛 authored
1251 1252 1253 1254 1255
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
1256
                                <div class="tab-pane active" id="info9">
郭盛 authored
1257
                                    <div class="well">
郭盛 authored
1258
                                        检测Token是否过期                                    </div>
郭盛 authored
1259 1260 1261 1262 1263 1264 1265 1266 1267
                                    <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">
郭盛 authored
1268
郭盛 authored
1269 1270 1271 1272 1273 1274 1275 1276 1277
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
1278
                                <div class="tab-pane" id="sandbox9">
郭盛 authored
1279 1280 1281 1282 1283
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
1284
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/check" method="get" name="form9" id="form9">
郭盛 authored
1285
                                                                                                                <div class="form-group">
郭盛 authored
1286
郭盛 authored
1287 1288
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
1289 1290
                                                            <button type="submit" class="btn btn-success send" rel="9">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="9">重置</button>
郭盛 authored
1291 1292 1293 1294 1295 1296 1297 1298 1299
                                                        </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">
郭盛 authored
1300 1301
                                                            <pre id="response_headers9"></pre>
                                                            <pre id="response9"></pre>
郭盛 authored
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
                                                        </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 -->
郭盛 authored
1316
                                <div class="tab-pane" id="sample9">
郭盛 authored
1317 1318
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
1319
                                            <pre id="sample_response9"></pre>
郭盛 authored
1320 1321 1322 1323 1324 1325 1326 1327 1328
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
1329
                    <div class="panel-heading" id="heading-10">
郭盛 authored
1330
                        <h4 class="panel-title">
郭盛 authored
1331
                            <span class="label label-success">GET</span>
郭盛 authored
1332
                            <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 刷新Token <span class="text-muted">/api/token/refresh</span></a>
郭盛 authored
1333 1334
                        </h4>
                    </div>
郭盛 authored
1335
                    <div id="collapseOne10" class="panel-collapse collapse">
郭盛 authored
1336 1337 1338
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
1339 1340 1341 1342
                            <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>
郭盛 authored
1343 1344 1345 1346 1347
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
1348
                                <div class="tab-pane active" id="info10">
郭盛 authored
1349
                                    <div class="well">
郭盛 authored
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
                                        刷新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 -->
郭盛 authored
1370
                                <div class="tab-pane" id="sandbox10">
郭盛 authored
1371 1372 1373 1374 1375
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
1376
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/refresh" method="get" name="form10" id="form10">
郭盛 authored
1377 1378 1379 1380
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
1381 1382
                                                            <button type="submit" class="btn btn-success send" rel="10">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="10">重置</button>
郭盛 authored
1383 1384 1385 1386 1387 1388 1389 1390 1391
                                                        </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">
郭盛 authored
1392 1393
                                                            <pre id="response_headers10"></pre>
                                                            <pre id="response10"></pre>
郭盛 authored
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407
                                                        </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 -->
郭盛 authored
1408
                                <div class="tab-pane" id="sample10">
郭盛 authored
1409 1410
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
1411
                                            <pre id="sample_response10"></pre>
郭盛 authored
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>个人中心</h2>
                <hr>
                                <div class="panel panel-default">
郭盛 authored
1423
                    <div class="panel-heading" id="heading-11">
郭盛 authored
1424 1425
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
1426
                            <a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
郭盛 authored
1427 1428
                        </h4>
                    </div>
郭盛 authored
1429
                    <div id="collapseOne11" class="panel-collapse collapse">
郭盛 authored
1430 1431 1432
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
1433 1434 1435 1436
                            <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>
郭盛 authored
1437 1438 1439 1440 1441
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
1442
                                <div class="tab-pane active" id="info11">
郭盛 authored
1443
                                    <div class="well">
1444
                                        小程序登录                                    </div>
郭盛 authored
1445 1446 1447
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
1448
郭盛 authored
1449 1450 1451 1452 1453
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
郭盛 authored
1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480
                                                        <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>
郭盛 authored
1481 1482 1483
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
郭盛 authored
1484 1485 1486 1487 1488 1489 1490 1491 1492
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
1493
                                <div class="tab-pane" id="sandbox11">
郭盛 authored
1494 1495 1496
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
1497
                                                <div class="panel-heading"><strong>参数</strong></div>
郭盛 authored
1498
                                                <div class="panel-body">
郭盛 authored
1499
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form11" id="form11">
郭盛 authored
1500
                                                                                                                <div class="form-group">
1501 1502 1503 1504 1505 1506
                                                            <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">
郭盛 authored
1507
                                                        </div>
郭盛 authored
1508
                                                                                                                <div class="form-group">
1509 1510
                                                            <label class="control-label" for="avatar">avatar</label>
                                                            <input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar">
郭盛 authored
1511 1512
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
1513 1514
                                                            <button type="submit" class="btn btn-success send" rel="11">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="11">重置</button>
郭盛 authored
1515 1516 1517 1518 1519 1520 1521 1522 1523
                                                        </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">
郭盛 authored
1524 1525
                                                            <pre id="response_headers11"></pre>
                                                            <pre id="response11"></pre>
郭盛 authored
1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539
                                                        </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 -->
郭盛 authored
1540
                                <div class="tab-pane" id="sample11">
郭盛 authored
1541 1542
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
1543
                                            <pre id="sample_response11">{
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553
    "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
郭盛 authored
1554
    }</pre>
郭盛 authored
1555 1556 1557 1558 1559 1560 1561 1562 1563
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
1564
                    <div class="panel-heading" id="heading-22">
郭盛 authored
1565 1566
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
1567
                            <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 创建充值订单 <span class="text-muted">/api/user/toporder</span></a>
郭盛 authored
1568 1569
                        </h4>
                    </div>
郭盛 authored
1570
                    <div id="collapseOne22" class="panel-collapse collapse">
郭盛 authored
1571 1572 1573
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
1574 1575 1576 1577
                            <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>
郭盛 authored
1578 1579 1580 1581 1582
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
1583
                                <div class="tab-pane active" id="info22">
郭盛 authored
1584
                                    <div class="well">
郭盛 authored
1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895
                                        创建充值订单                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>money</td>
                                                        <td>float</td>
                                                        <td></td>
                                                        <td>充值金额</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox22">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>Headers</strong></div>
                                                <div class="panel-body">
                                                    <div class="headers">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
                                                        </div>
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/toporder" method="POST" name="form22" id="form22">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="money">money</label>
                                                            <input type="float" class="form-control input-sm" id="money" required placeholder="充值金额" name="money">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="22">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="22">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers22"></pre>
                                                            <pre id="response22"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

                                                                                                    </div>
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- #sandbox -->

                                <div class="tab-pane" id="sample22">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response22">{
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
            "order_id"://订单ID
        }
        }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-29">
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 创建组合订单 <span class="text-muted">/api/user/orders</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne29" class="panel-collapse collapse">
                        <div class="panel-body">

                            <!-- Nav tabs -->
                            <ul class="nav nav-tabs" id="doctab29">
                                <li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample29" data-toggle="tab">返回示例</a></li>
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">

                                <div class="tab-pane active" id="info29">
                                    <div class="well">
                                        创建组合订单                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>video_id</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>视频ID</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>pic_id</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>图片ID</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>total</td>
                                                        <td>float</td>
                                                        <td></td>
                                                        <td>价格</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox29">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>Headers</strong></div>
                                                <div class="panel-body">
                                                    <div class="headers">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
                                                        </div>
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/orders" method="POST" name="form29" id="form29">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="video_id">video_id</label>
                                                            <input type="string" class="form-control input-sm" id="video_id" required placeholder="视频ID" name="video_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="pic_id">pic_id</label>
                                                            <input type="string" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="total">total</label>
                                                            <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="29">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="29">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers29"></pre>
                                                            <pre id="response29"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

                                                                                                    </div>
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- #sandbox -->

                                <div class="tab-pane" id="sample29">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response29">{
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
            "order_id"://订单ID
        }
        }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-28">
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 创建视频订单 <span class="text-muted">/api/user/v_order</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne28" class="panel-collapse collapse">
                        <div class="panel-body">

                            <!-- Nav tabs -->
                            <ul class="nav nav-tabs" id="doctab28">
                                <li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample28" data-toggle="tab">返回示例</a></li>
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">

                                <div class="tab-pane active" id="info28">
                                    <div class="well">
                                        创建视频订单                                    </div>
郭盛 authored
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909
                                    <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>
郭盛 authored
1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>video_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>视频ID</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>total</td>
                                                        <td>float</td>
郭盛 authored
1941
                                                        <td></td>
郭盛 authored
1942
                                                        <td>价格</td>
郭盛 authored
1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954
                                                    </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 -->
郭盛 authored
1955
                                <div class="tab-pane" id="sandbox28">
郭盛 authored
1956 1957 1958
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
郭盛 authored
1959
                                                <div class="panel-heading"><strong>Headers</strong></div>
郭盛 authored
1960
                                                <div class="panel-body">
郭盛 authored
1961
                                                    <div class="headers">
郭盛 authored
1962
                                                                                                                <div class="form-group">
郭盛 authored
1963 1964
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
郭盛 authored
1965
                                                        </div>
郭盛 authored
1966 1967 1968 1969 1970 1971
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
郭盛 authored
1972
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/v_order" method="POST" name="form28" id="form28">
郭盛 authored
1973
                                                                                                                <div class="form-group">
郭盛 authored
1974 1975
                                                            <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">
郭盛 authored
1976 1977
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
1978 1979 1980 1981 1982 1983
                                                            <label class="control-label" for="total">total</label>
                                                            <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="28">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="28">重置</button>
郭盛 authored
1984 1985 1986 1987 1988 1989 1990 1991 1992
                                                        </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">
郭盛 authored
1993 1994
                                                            <pre id="response_headers28"></pre>
                                                            <pre id="response28"></pre>
郭盛 authored
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008
                                                        </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 -->
郭盛 authored
2009
                                <div class="tab-pane" id="sample28">
郭盛 authored
2010 2011
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2012 2013 2014 2015 2016 2017 2018 2019
                                            <pre id="sample_response28">{
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
    "order_id"://订单ID
    }
    }</pre>
郭盛 authored
2020 2021 2022 2023 2024 2025 2026 2027 2028
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2029
                    <div class="panel-heading" id="heading-27">
郭盛 authored
2030
                        <h4 class="panel-title">
2031
                            <span class="label label-primary">POST</span>
郭盛 authored
2032
                            <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 创建图片订单 <span class="text-muted">/api/user/picorder</span></a>
郭盛 authored
2033 2034
                        </h4>
                    </div>
郭盛 authored
2035
                    <div id="collapseOne27" class="panel-collapse collapse">
郭盛 authored
2036 2037 2038
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2039 2040 2041 2042
                            <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>
郭盛 authored
2043 2044 2045 2046 2047
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2048
                                <div class="tab-pane active" id="info27">
郭盛 authored
2049
                                    <div class="well">
郭盛 authored
2050
                                        创建图片订单                                    </div>
郭盛 authored
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076
                                    <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">
郭盛 authored
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100
                                                                                        <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>
郭盛 authored
2101 2102 2103 2104 2105 2106 2107 2108 2109
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2110
                                <div class="tab-pane" id="sandbox27">
郭盛 authored
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126
                                    <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">
郭盛 authored
2127
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picorder" method="POST" name="form27" id="form27">
郭盛 authored
2128
                                                                                                                <div class="form-group">
郭盛 authored
2129 2130
                                                            <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">
郭盛 authored
2131 2132
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2133 2134 2135 2136
                                                            <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">
郭盛 authored
2137 2138
                                                            <button type="submit" class="btn btn-success send" rel="27">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="27">重置</button>
郭盛 authored
2139 2140 2141 2142 2143 2144 2145 2146 2147
                                                        </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">
郭盛 authored
2148 2149
                                                            <pre id="response_headers27"></pre>
                                                            <pre id="response27"></pre>
郭盛 authored
2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163
                                                        </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 -->
郭盛 authored
2164
                                <div class="tab-pane" id="sample27">
郭盛 authored
2165 2166
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2167
                                            <pre id="sample_response27">{
郭盛 authored
2168 2169 2170 2171
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
郭盛 authored
2172 2173
        "order_id"://订单ID
    }
郭盛 authored
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2184
                    <div class="panel-heading" id="heading-26">
郭盛 authored
2185 2186
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2187
                            <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 加入购物车 <span class="text-muted">/api/user/addcar</span></a>
郭盛 authored
2188 2189
                        </h4>
                    </div>
郭盛 authored
2190
                    <div id="collapseOne26" class="panel-collapse collapse">
郭盛 authored
2191 2192 2193
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2194 2195 2196 2197
                            <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>
郭盛 authored
2198 2199 2200 2201 2202
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2203
                                <div class="tab-pane active" id="info26">
郭盛 authored
2204
                                    <div class="well">
郭盛 authored
2205
                                        加入购物车                                    </div>
郭盛 authored
2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242
                                    <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>
郭盛 authored
2243
                                                        <td>pic_id</td>
郭盛 authored
2244 2245
                                                        <td>inter</td>
                                                        <td></td>
郭盛 authored
2246
                                                        <td>图片ID</td>
郭盛 authored
2247 2248
                                                    </tr>
                                                                                                        <tr>
郭盛 authored
2249
                                                        <td>video_id</td>
郭盛 authored
2250 2251
                                                        <td>inter</td>
                                                        <td></td>
郭盛 authored
2252
                                                        <td>视频ID</td>
郭盛 authored
2253
                                                    </tr>
郭盛 authored
2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2265
                                <div class="tab-pane" id="sandbox26">
郭盛 authored
2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281
                                    <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">
郭盛 authored
2282
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/addcar" method="POST" name="form26" id="form26">
郭盛 authored
2283
                                                                                                                <div class="form-group">
郭盛 authored
2284 2285
                                                            <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">
郭盛 authored
2286 2287
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2288 2289
                                                            <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">
郭盛 authored
2290 2291
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2292 2293
                                                            <button type="submit" class="btn btn-success send" rel="26">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="26">重置</button>
郭盛 authored
2294 2295 2296 2297 2298 2299 2300 2301 2302
                                                        </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">
郭盛 authored
2303 2304
                                                            <pre id="response_headers26"></pre>
                                                            <pre id="response26"></pre>
郭盛 authored
2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318
                                                        </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 -->
郭盛 authored
2319
                                <div class="tab-pane" id="sample26">
郭盛 authored
2320 2321
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2322
                                            <pre id="sample_response26">{
郭盛 authored
2323 2324 2325
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
郭盛 authored
2326 2327 2328 2329 2330 2331 2332 2333 2334 2335
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2336
                    <div class="panel-heading" id="heading-25">
郭盛 authored
2337 2338
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2339
                            <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 购物车列表 <span class="text-muted">/api/user/car</span></a>
郭盛 authored
2340 2341
                        </h4>
                    </div>
郭盛 authored
2342
                    <div id="collapseOne25" class="panel-collapse collapse">
郭盛 authored
2343 2344 2345
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2346 2347 2348 2349
                            <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>
郭盛 authored
2350 2351 2352 2353 2354
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2355
                                <div class="tab-pane active" id="info25">
郭盛 authored
2356
                                    <div class="well">
郭盛 authored
2357
                                        购物车列表                                    </div>
郭盛 authored
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383
                                    <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">
郭盛 authored
2384
郭盛 authored
2385 2386 2387 2388 2389 2390 2391 2392 2393
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2394
                                <div class="tab-pane" id="sandbox25">
郭盛 authored
2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410
                                    <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">
郭盛 authored
2411
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/car" method="POST" name="form25" id="form25">
郭盛 authored
2412
                                                                                                                <div class="form-group">
郭盛 authored
2413
郭盛 authored
2414 2415
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2416 2417
                                                            <button type="submit" class="btn btn-success send" rel="25">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="25">重置</button>
郭盛 authored
2418 2419 2420 2421 2422 2423 2424 2425 2426
                                                        </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">
郭盛 authored
2427 2428
                                                            <pre id="response_headers25"></pre>
                                                            <pre id="response25"></pre>
郭盛 authored
2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442
                                                        </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 -->
郭盛 authored
2443
                                <div class="tab-pane" id="sample25">
郭盛 authored
2444 2445
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2446
                                            <pre id="sample_response25">{
郭盛 authored
2447 2448 2449 2450
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
郭盛 authored
2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477
        "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会员价格
          ]
郭盛 authored
2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488
    }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2489
                    <div class="panel-heading" id="heading-24">
郭盛 authored
2490 2491
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2492
                            <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 会员须知 <span class="text-muted">/api/user/vipdetail</span></a>
郭盛 authored
2493 2494
                        </h4>
                    </div>
郭盛 authored
2495
                    <div id="collapseOne24" class="panel-collapse collapse">
郭盛 authored
2496 2497 2498
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2499 2500 2501 2502
                            <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>
郭盛 authored
2503 2504 2505 2506 2507
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2508
                                <div class="tab-pane active" id="info24">
郭盛 authored
2509
                                    <div class="well">
郭盛 authored
2510
                                        会员须知                                    </div>
郭盛 authored
2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536
                                    <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">
郭盛 authored
2537
郭盛 authored
2538 2539 2540 2541 2542 2543 2544 2545 2546
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2547
                                <div class="tab-pane" id="sandbox24">
郭盛 authored
2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563
                                    <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">
郭盛 authored
2564
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/vipdetail" method="POST" name="form24" id="form24">
郭盛 authored
2565
                                                                                                                <div class="form-group">
郭盛 authored
2566
郭盛 authored
2567 2568
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2569 2570
                                                            <button type="submit" class="btn btn-success send" rel="24">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="24">重置</button>
郭盛 authored
2571 2572 2573 2574 2575 2576 2577 2578 2579
                                                        </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">
郭盛 authored
2580 2581
                                                            <pre id="response_headers24"></pre>
                                                            <pre id="response24"></pre>
郭盛 authored
2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595
                                                        </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 -->
郭盛 authored
2596
                                <div class="tab-pane" id="sample24">
郭盛 authored
2597 2598
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2599
                                            <pre id="sample_response24">{
郭盛 authored
2600 2601 2602 2603 2604 2605 2606
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
    "text":       //会员须知内容
    }
    }</pre>
郭盛 authored
2607 2608 2609 2610 2611 2612 2613 2614 2615
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2616
                    <div class="panel-heading" id="heading-23">
郭盛 authored
2617 2618
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2619
                            <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 会员介绍 <span class="text-muted">/api/user/vipdesc</span></a>
郭盛 authored
2620 2621
                        </h4>
                    </div>
郭盛 authored
2622
                    <div id="collapseOne23" class="panel-collapse collapse">
郭盛 authored
2623 2624 2625
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2626 2627 2628 2629
                            <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>
郭盛 authored
2630 2631 2632 2633 2634
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2635
                                <div class="tab-pane active" id="info23">
郭盛 authored
2636
                                    <div class="well">
郭盛 authored
2637
                                        会员介绍                                    </div>
郭盛 authored
2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663
                                    <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">
郭盛 authored
2664
郭盛 authored
2665 2666 2667 2668 2669 2670 2671 2672 2673
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2674
                                <div class="tab-pane" id="sandbox23">
郭盛 authored
2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690
                                    <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">
郭盛 authored
2691
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/vipdesc" method="POST" name="form23" id="form23">
郭盛 authored
2692
                                                                                                                <div class="form-group">
郭盛 authored
2693
郭盛 authored
2694 2695
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2696 2697
                                                            <button type="submit" class="btn btn-success send" rel="23">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="23">重置</button>
郭盛 authored
2698 2699 2700 2701 2702 2703 2704 2705 2706
                                                        </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">
郭盛 authored
2707 2708
                                                            <pre id="response_headers23"></pre>
                                                            <pre id="response23"></pre>
郭盛 authored
2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722
                                                        </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 -->
郭盛 authored
2723
                                <div class="tab-pane" id="sample23">
郭盛 authored
2724 2725
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2726
                                            <pre id="sample_response23">{
郭盛 authored
2727 2728 2729 2730
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
郭盛 authored
2731
        "content":       //会员介绍内容
郭盛 authored
2732
    }
郭盛 authored
2733 2734 2735 2736 2737 2738 2739 2740 2741 2742
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2743
                    <div class="panel-heading" id="heading-21">
郭盛 authored
2744 2745
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2746
                            <a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 我的 <span class="text-muted">/api/user/mine</span></a>
郭盛 authored
2747 2748
                        </h4>
                    </div>
郭盛 authored
2749
                    <div id="collapseOne21" class="panel-collapse collapse">
郭盛 authored
2750 2751 2752
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2753 2754 2755 2756
                            <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>
郭盛 authored
2757 2758 2759 2760 2761
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2762
                                <div class="tab-pane active" id="info21">
郭盛 authored
2763
                                    <div class="well">
郭盛 authored
2764
                                        我的                                    </div>
郭盛 authored
2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790
                                    <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">
郭盛 authored
2791
郭盛 authored
2792 2793 2794 2795 2796 2797 2798 2799 2800
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2801
                                <div class="tab-pane" id="sandbox21">
郭盛 authored
2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817
                                    <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">
郭盛 authored
2818
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mine" method="POST" name="form21" id="form21">
郭盛 authored
2819
                                                                                                                <div class="form-group">
郭盛 authored
2820
郭盛 authored
2821 2822
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2823 2824
                                                            <button type="submit" class="btn btn-success send" rel="21">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="21">重置</button>
郭盛 authored
2825 2826 2827 2828 2829 2830 2831 2832 2833
                                                        </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">
郭盛 authored
2834 2835
                                                            <pre id="response_headers21"></pre>
                                                            <pre id="response21"></pre>
郭盛 authored
2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849
                                                        </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 -->
郭盛 authored
2850
                                <div class="tab-pane" id="sample21">
郭盛 authored
2851 2852
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2853
                                            <pre id="sample_response21">{
郭盛 authored
2854 2855 2856 2857
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
郭盛 authored
2858 2859 2860 2861 2862
            "id":       //用户ID
            "nickname": //昵称,
            "avatar":   //头像,
            "money" :   //余额
            "is_vip":   //是否为会员(0否 1是</pre>
郭盛 authored
2863 2864 2865 2866 2867 2868 2869 2870 2871
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
2872
                    <div class="panel-heading" id="heading-12">
郭盛 authored
2873 2874
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
2875
                            <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 首页视频、图片、精美大片入口 <span class="text-muted">/api/user/index</span></a>
郭盛 authored
2876 2877
                        </h4>
                    </div>
郭盛 authored
2878
                    <div id="collapseOne12" class="panel-collapse collapse">
郭盛 authored
2879 2880 2881
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
2882 2883 2884 2885
                            <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>
郭盛 authored
2886 2887 2888 2889 2890
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
2891
                                <div class="tab-pane active" id="info12">
郭盛 authored
2892
                                    <div class="well">
郭盛 authored
2893
                                        首页视频、图片、精美大片入口                                    </div>
郭盛 authored
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919
                                    <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">
郭盛 authored
2920
郭盛 authored
2921 2922 2923 2924 2925 2926 2927 2928 2929
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
2930
                                <div class="tab-pane" id="sandbox12">
郭盛 authored
2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946
                                    <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">
郭盛 authored
2947
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form12" id="form12">
郭盛 authored
2948
                                                                                                                <div class="form-group">
郭盛 authored
2949
郭盛 authored
2950 2951
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
2952 2953
                                                            <button type="submit" class="btn btn-success send" rel="12">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="12">重置</button>
郭盛 authored
2954 2955 2956 2957 2958 2959 2960 2961 2962
                                                        </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">
郭盛 authored
2963 2964
                                                            <pre id="response_headers12"></pre>
                                                            <pre id="response12"></pre>
郭盛 authored
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978
                                                        </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 -->
郭盛 authored
2979
                                <div class="tab-pane" id="sample12">
郭盛 authored
2980 2981
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
2982 2983 2984
                                            <pre id="sample_response12">{
    'code':'1',
    'msg':'返回成功',
郭盛 authored
2985
    "time": "1571492001",
郭盛 authored
2986 2987 2988 2989 2990
        "data": {
        "video_thumbnail": http://mapwww.baidu.com 视频封面图地址
        "pic_thumbnail": http://mapwww.baidu.com 图片地址
        "wonderful_thumbnail": http://mapwww.baidu.com 精美大片地址
        }
郭盛 authored
2991
    }</pre>
郭盛 authored
2992 2993 2994 2995 2996 2997 2998 2999 3000
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
3001
                    <div class="panel-heading" id="heading-20">
郭盛 authored
3002 3003
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3004
                            <a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 历史记录 <span class="text-muted">/api/user/history</span></a>
郭盛 authored
3005 3006
                        </h4>
                    </div>
郭盛 authored
3007
                    <div id="collapseOne20" class="panel-collapse collapse">
郭盛 authored
3008 3009 3010
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3011 3012 3013 3014
                            <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>
郭盛 authored
3015 3016 3017 3018 3019
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3020
                                <div class="tab-pane active" id="info20">
郭盛 authored
3021
                                    <div class="well">
郭盛 authored
3022
                                        历史记录                                    </div>
郭盛 authored
3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048
                                    <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">
郭盛 authored
3049
郭盛 authored
3050 3051 3052 3053 3054 3055 3056 3057 3058
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
3059
                                <div class="tab-pane" id="sandbox20">
郭盛 authored
3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075
                                    <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">
郭盛 authored
3076
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/history" method="POST" name="form20" id="form20">
郭盛 authored
3077
                                                                                                                <div class="form-group">
郭盛 authored
3078
郭盛 authored
3079 3080
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
3081 3082
                                                            <button type="submit" class="btn btn-success send" rel="20">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="20">重置</button>
郭盛 authored
3083 3084 3085 3086 3087 3088 3089 3090 3091
                                                        </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">
郭盛 authored
3092 3093
                                                            <pre id="response_headers20"></pre>
                                                            <pre id="response20"></pre>
郭盛 authored
3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107
                                                        </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 -->
郭盛 authored
3108
                                <div class="tab-pane" id="sample20">
郭盛 authored
3109 3110
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3111 3112 3113
                                            <pre id="sample_response20">{
    "code": 1,
    "msg": "成功",
郭盛 authored
3114
    "time": "1571492001",
郭盛 authored
3115 3116 3117 3118
    "data": {
        "id": 4,//记录id,
        "title"://搜索的内容
    }
郭盛 authored
3119
    }</pre>
郭盛 authored
3120 3121 3122 3123 3124 3125 3126 3127 3128
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
3129
                    <div class="panel-heading" id="heading-19">
郭盛 authored
3130 3131
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3132
                            <a data-toggle="collapse" data-parent="#accordion19" href="#collapseOne19"> 视频详情 <span class="text-muted">/api/user/videodetail</span></a>
郭盛 authored
3133 3134
                        </h4>
                    </div>
郭盛 authored
3135
                    <div id="collapseOne19" class="panel-collapse collapse">
郭盛 authored
3136 3137 3138
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3139 3140 3141 3142
                            <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>
郭盛 authored
3143 3144 3145 3146 3147
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3148
                                <div class="tab-pane active" id="info19">
郭盛 authored
3149
                                    <div class="well">
郭盛 authored
3150
                                        视频详情                                    </div>
郭盛 authored
3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176
                                    <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">
郭盛 authored
3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194
                                                                                        <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>
郭盛 authored
3195 3196 3197 3198 3199 3200 3201 3202 3203
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
3204
                                <div class="tab-pane" id="sandbox19">
郭盛 authored
3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220
                                    <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">
郭盛 authored
3221
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/videodetail" method="POST" name="form19" id="form19">
郭盛 authored
3222
                                                                                                                <div class="form-group">
郭盛 authored
3223 3224
                                                            <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">
郭盛 authored
3225 3226
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
3227 3228
                                                            <button type="submit" class="btn btn-success send" rel="19">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="19">重置</button>
郭盛 authored
3229 3230 3231 3232 3233 3234 3235 3236 3237
                                                        </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">
郭盛 authored
3238 3239
                                                            <pre id="response_headers19"></pre>
                                                            <pre id="response19"></pre>
郭盛 authored
3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253
                                                        </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 -->
郭盛 authored
3254
                                <div class="tab-pane" id="sample19">
郭盛 authored
3255 3256
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3257
                                            <pre id="sample_response19">{
郭盛 authored
3258 3259 3260 3261
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
郭盛 authored
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276
            "id": 4,//视频id,
            "title"://标题
            "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>
郭盛 authored
3277 3278 3279 3280 3281 3282 3283 3284
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
郭盛 authored
3285
                                <div class="panel panel-default">
郭盛 authored
3286
                    <div class="panel-heading" id="heading-18">
郭盛 authored
3287 3288
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3289
                            <a data-toggle="collapse" data-parent="#accordion18" href="#collapseOne18"> 图片详情 <span class="text-muted">/api/user/picdetail</span></a>
郭盛 authored
3290 3291
                        </h4>
                    </div>
郭盛 authored
3292
                    <div id="collapseOne18" class="panel-collapse collapse">
郭盛 authored
3293 3294 3295
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3296 3297 3298 3299
                            <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>
郭盛 authored
3300 3301 3302 3303 3304
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3305
                                <div class="tab-pane active" id="info18">
郭盛 authored
3306
                                    <div class="well">
郭盛 authored
3307
                                        图片详情                                    </div>
郭盛 authored
3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333
                                    <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">
郭盛 authored
3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
郭盛 authored
3345 3346
                                                        <td>pic_id</td>
                                                        <td>inter</td>
郭盛 authored
3347
                                                        <td></td>
郭盛 authored
3348
                                                        <td>图片ID</td>
郭盛 authored
3349 3350 3351
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
郭盛 authored
3352 3353 3354 3355 3356 3357 3358 3359 3360
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
3361
                                <div class="tab-pane" id="sandbox18">
郭盛 authored
3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377
                                    <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">
郭盛 authored
3378
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picdetail" method="POST" name="form18" id="form18">
郭盛 authored
3379
                                                                                                                <div class="form-group">
郭盛 authored
3380 3381
                                                            <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">
郭盛 authored
3382 3383
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
3384 3385
                                                            <button type="submit" class="btn btn-success send" rel="18">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="18">重置</button>
郭盛 authored
3386 3387 3388 3389 3390 3391 3392 3393 3394
                                                        </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">
郭盛 authored
3395 3396
                                                            <pre id="response_headers18"></pre>
                                                            <pre id="response18"></pre>
郭盛 authored
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410
                                                        </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 -->
郭盛 authored
3411
                                <div class="tab-pane" id="sample18">
郭盛 authored
3412 3413
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3414
                                            <pre id="sample_response18">{
郭盛 authored
3415 3416 3417 3418
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
郭盛 authored
3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438
            "id": 4,//图片id,
            "title"://标题
            "thumbnail": //缩略图,
            "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">
郭盛 authored
3439
                    <div class="panel-heading" id="heading-17">
郭盛 authored
3440 3441
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3442
                            <a data-toggle="collapse" data-parent="#accordion17" href="#collapseOne17"> 精美大片列表 <span class="text-muted">/api/user/won</span></a>
郭盛 authored
3443 3444
                        </h4>
                    </div>
郭盛 authored
3445
                    <div id="collapseOne17" class="panel-collapse collapse">
郭盛 authored
3446 3447 3448
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3449 3450 3451 3452
                            <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>
郭盛 authored
3453 3454 3455 3456 3457
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3458
                                <div class="tab-pane active" id="info17">
郭盛 authored
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519
                                    <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 -->
郭盛 authored
3520
                                <div class="tab-pane" id="sandbox17">
郭盛 authored
3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536
                                    <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">
郭盛 authored
3537
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/won" method="POST" name="form17" id="form17">
郭盛 authored
3538 3539 3540 3541 3542 3543 3544 3545 3546
                                                                                                                <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">
郭盛 authored
3547 3548
                                                            <button type="submit" class="btn btn-success send" rel="17">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="17">重置</button>
郭盛 authored
3549 3550 3551 3552 3553 3554 3555 3556 3557
                                                        </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">
郭盛 authored
3558 3559
                                                            <pre id="response_headers17"></pre>
                                                            <pre id="response17"></pre>
郭盛 authored
3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573
                                                        </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 -->
郭盛 authored
3574
                                <div class="tab-pane" id="sample17">
郭盛 authored
3575 3576
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3577
                                            <pre id="sample_response17">{
郭盛 authored
3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595
    "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">
郭盛 authored
3596
                    <div class="panel-heading" id="heading-16">
郭盛 authored
3597 3598
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3599
                            <a data-toggle="collapse" data-parent="#accordion16" href="#collapseOne16"> 视频列表 <span class="text-muted">/api/user/video</span></a>
郭盛 authored
3600 3601
                        </h4>
                    </div>
郭盛 authored
3602
                    <div id="collapseOne16" class="panel-collapse collapse">
郭盛 authored
3603 3604 3605
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3606 3607 3608 3609
                            <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>
郭盛 authored
3610 3611 3612 3613 3614
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3615
                                <div class="tab-pane active" id="info16">
郭盛 authored
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682
                                    <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 -->
郭盛 authored
3683
                                <div class="tab-pane" id="sandbox16">
郭盛 authored
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699
                                    <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">
郭盛 authored
3700
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/video" method="POST" name="form16" id="form16">
郭盛 authored
3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713
                                                                                                                <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">
郭盛 authored
3714 3715
                                                            <button type="submit" class="btn btn-success send" rel="16">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="16">重置</button>
郭盛 authored
3716 3717 3718 3719 3720 3721 3722 3723 3724
                                                        </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">
郭盛 authored
3725 3726
                                                            <pre id="response_headers16"></pre>
                                                            <pre id="response16"></pre>
郭盛 authored
3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740
                                                        </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 -->
郭盛 authored
3741
                                <div class="tab-pane" id="sample16">
郭盛 authored
3742 3743
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3744
                                            <pre id="sample_response16">{
郭盛 authored
3745 3746 3747 3748 3749 3750 3751
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
            "id": //图片id,
            "thumbnail": //视频封面,
            "video"://视频地址
郭盛 authored
3752 3753
        }
        }</pre>
郭盛 authored
3754 3755 3756 3757 3758 3759 3760 3761 3762
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
3763
                    <div class="panel-heading" id="heading-15">
郭盛 authored
3764 3765
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3766
                            <a data-toggle="collapse" data-parent="#accordion15" href="#collapseOne15"> 图片列表 <span class="text-muted">/api/user/pic</span></a>
郭盛 authored
3767 3768
                        </h4>
                    </div>
郭盛 authored
3769
                    <div id="collapseOne15" class="panel-collapse collapse">
郭盛 authored
3770 3771 3772
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3773 3774 3775 3776
                            <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>
郭盛 authored
3777 3778 3779 3780 3781
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3782
                                <div class="tab-pane active" id="info15">
郭盛 authored
3783
                                    <div class="well">
郭盛 authored
3784
                                        图片列表                                    </div>
郭盛 authored
3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795
                                    <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>
郭盛 authored
3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826
                                                </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>
郭盛 authored
3827
                                                                                                        <tr>
郭盛 authored
3828 3829 3830 3831 3832 3833 3834 3835 3836 3837
                                                        <td>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>当前页(默认1</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>pageNum</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>每页显示数据个数(默认10)</td>
郭盛 authored
3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849
                                                    </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 -->
郭盛 authored
3850
                                <div class="tab-pane" id="sandbox15">
郭盛 authored
3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866
                                    <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">
郭盛 authored
3867
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/pic" method="POST" name="form15" id="form15">
郭盛 authored
3868
                                                                                                                <div class="form-group">
郭盛 authored
3869 3870
                                                            <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">
郭盛 authored
3871 3872
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
3873 3874 3875 3876 3877 3878 3879 3880
                                                            <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">
郭盛 authored
3881 3882
                                                            <button type="submit" class="btn btn-success send" rel="15">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="15">重置</button>
郭盛 authored
3883 3884 3885 3886 3887 3888 3889 3890 3891
                                                        </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">
郭盛 authored
3892 3893
                                                            <pre id="response_headers15"></pre>
                                                            <pre id="response15"></pre>
郭盛 authored
3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907
                                                        </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 -->
郭盛 authored
3908
                                <div class="tab-pane" id="sample15">
郭盛 authored
3909 3910
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
3911
                                            <pre id="sample_response15">{
郭盛 authored
3912 3913 3914 3915
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
郭盛 authored
3916 3917
        "id": 4,//图片id,
        "thumbnail": //缩略图,
郭盛 authored
3918 3919
    }
    }</pre>
郭盛 authored
3920 3921 3922 3923 3924 3925 3926 3927
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
郭盛 authored
3928
                                <div class="panel panel-default">
郭盛 authored
3929
                    <div class="panel-heading" id="heading-14">
郭盛 authored
3930 3931
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
3932
                            <a data-toggle="collapse" data-parent="#accordion14" href="#collapseOne14"> 搜索页 <span class="text-muted">/api/user/search</span></a>
郭盛 authored
3933 3934
                        </h4>
                    </div>
郭盛 authored
3935
                    <div id="collapseOne14" class="panel-collapse collapse">
郭盛 authored
3936 3937 3938
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
3939 3940 3941 3942
                            <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>
郭盛 authored
3943 3944 3945 3946 3947
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
3948
                                <div class="tab-pane active" id="info14">
郭盛 authored
3949
                                    <div class="well">
郭盛 authored
3950
                                        搜索页                                    </div>
郭盛 authored
3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976
                                    <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">
郭盛 authored
3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012
                                                                                        <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 精美大片为3)</td>
                                                    </tr>
                                                                                                        <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>
郭盛 authored
4013 4014 4015 4016 4017 4018 4019 4020 4021
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
4022
                                <div class="tab-pane" id="sandbox14">
郭盛 authored
4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038
                                    <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">
郭盛 authored
4039
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/search" method="POST" name="form14" id="form14">
郭盛 authored
4040
                                                                                                                <div class="form-group">
郭盛 authored
4041 4042
                                                            <label class="control-label" for="type_id">type_id</label>
                                                            <input type="inter" class="form-control input-sm" id="type_id"  placeholder="视频/图片  (视频为1 图片为2 精美大片为3)" name="type_id">
郭盛 authored
4043 4044
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056
                                                            <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">
郭盛 authored
4057 4058
                                                            <button type="submit" class="btn btn-success send" rel="14">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="14">重置</button>
郭盛 authored
4059 4060 4061 4062 4063 4064 4065 4066 4067
                                                        </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">
郭盛 authored
4068 4069
                                                            <pre id="response_headers14"></pre>
                                                            <pre id="response14"></pre>
郭盛 authored
4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083
                                                        </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 -->
郭盛 authored
4084
                                <div class="tab-pane" id="sample14">
郭盛 authored
4085 4086
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
4087
                                            <pre id="sample_response14">{
郭盛 authored
4088 4089 4090 4091 4092 4093 4094 4095
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
            "id": 4,//视频id/图片id,
            "thumbnail": //视频封面图地址/图片地址,
            "video": //视频路径/精美大片视频路径,
        }
郭盛 authored
4096 4097 4098 4099 4100 4101 4102 4103 4104 4105
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
4106
                    <div class="panel-heading" id="heading-13">
郭盛 authored
4107 4108
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
4109
                            <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> 地区分类 <span class="text-muted">/api/user/type</span></a>
郭盛 authored
4110 4111
                        </h4>
                    </div>
郭盛 authored
4112
                    <div id="collapseOne13" class="panel-collapse collapse">
郭盛 authored
4113 4114 4115
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
4116 4117 4118 4119
                            <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>
郭盛 authored
4120 4121 4122 4123 4124
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
4125
                                <div class="tab-pane active" id="info13">
郭盛 authored
4126
                                    <div class="well">
郭盛 authored
4127
                                        地区分类                                    </div>
郭盛 authored
4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163
                                    <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 -->
郭盛 authored
4164
                                <div class="tab-pane" id="sandbox13">
郭盛 authored
4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180
                                    <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">
郭盛 authored
4181
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/type" method="POST" name="form13" id="form13">
郭盛 authored
4182 4183 4184 4185
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
4186 4187
                                                            <button type="submit" class="btn btn-success send" rel="13">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="13">重置</button>
郭盛 authored
4188 4189 4190 4191 4192 4193 4194 4195 4196
                                                        </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">
郭盛 authored
4197 4198
                                                            <pre id="response_headers13"></pre>
                                                            <pre id="response13"></pre>
郭盛 authored
4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212
                                                        </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 -->
郭盛 authored
4213
                                <div class="tab-pane" id="sample13">
郭盛 authored
4214 4215
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
4216
                                            <pre id="sample_response13">{
郭盛 authored
4217 4218 4219 4220
    "code": 1,
    "msg": "成功",
    "time": "1571492001",
    "data": {
郭盛 authored
4221 4222 4223 4224
        "id": 4,//分类id
        "area_name": //分类名称
        "thumbnail": //图片
        }
郭盛 authored
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
郭盛 authored
4235
                    <div class="panel-heading" id="heading-30">
郭盛 authored
4236 4237
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
郭盛 authored
4238
                            <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 我的订单 <span class="text-muted">/api/user/myorder</span></a>
郭盛 authored
4239 4240
                        </h4>
                    </div>
郭盛 authored
4241
                    <div id="collapseOne30" class="panel-collapse collapse">
郭盛 authored
4242 4243 4244
                        <div class="panel-body">

                            <!-- Nav tabs -->
郭盛 authored
4245 4246 4247 4248
                            <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>
郭盛 authored
4249 4250 4251 4252 4253
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
郭盛 authored
4254
                                <div class="tab-pane active" id="info30">
郭盛 authored
4255
                                    <div class="well">
郭盛 authored
4256
                                        我的订单                                    </div>
郭盛 authored
4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293
                                    <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>
郭盛 authored
4294
                                                        <td>type</td>
郭盛 authored
4295
                                                        <td>inter</td>
郭盛 authored
4296 4297
                                                        <td></td>
                                                        <td>状态(不传默认为全部 1为待支付 2为已完成</td>
郭盛 authored
4298
                                                    </tr>
郭盛 authored
4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
郭盛 authored
4310
                                <div class="tab-pane" id="sandbox30">
郭盛 authored
4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326
                                    <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">
郭盛 authored
4327
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myorder" method="POST" name="form30" id="form30">
郭盛 authored
4328
                                                                                                                <div class="form-group">
郭盛 authored
4329 4330
                                                            <label class="control-label" for="type">type</label>
                                                            <input type="inter" class="form-control input-sm" id="type"  placeholder="状态(不传默认为全部 1为待支付 2为已完成" name="type">
郭盛 authored
4331 4332
                                                        </div>
                                                                                                                <div class="form-group">
郭盛 authored
4333 4334
                                                            <button type="submit" class="btn btn-success send" rel="30">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="30">重置</button>
郭盛 authored
4335 4336 4337 4338 4339 4340 4341 4342 4343
                                                        </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">
郭盛 authored
4344 4345
                                                            <pre id="response_headers30"></pre>
                                                            <pre id="response30"></pre>
郭盛 authored
4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359
                                                        </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 -->
郭盛 authored
4360
                                <div class="tab-pane" id="sample30">
郭盛 authored
4361 4362
                                    <div class="row">
                                        <div class="col-md-12">
郭盛 authored
4363 4364 4365 4366 4367 4368 4369 4370 4371
                                            <pre id="sample_response30">{
        "code": 1,
        "msg": "成功",
        "time": "1571492001",
        "data": {
            "id":       //用户ID
            "pic_id": //图片,
            "video_id":   //视频,
            "status" :   //状态(1待支付 2已完成</pre>
郭盛 authored
4372 4373 4374 4375 4376 4377 4378 4379
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
郭盛 authored
4380 4381 4382 4383 4384 4385
                            </div>

            <hr>

            <div class="row mt0 footer">
                <div class="col-md-6" align="left">
郭盛 authored
4386
                    Generated on 2019-11-20 22:45:23                </div>
郭盛 authored
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617
                <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, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
                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>