审查视图

public/api.html 518.5 KB
jinglong 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
<!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="FastAdmin">
        <title>FastAdmin</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">FastAdmin</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">
jinglong authored
142 143 144 145 146 147
                                        <a href="#品牌接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">品牌接口  <i class="fa fa-caret-down"></i></a>
                    <div class="child collapse" id="品牌接口">
                                                <a href="javascript:;" data-id="0" class="list-group-item">品牌分类</a>
                                                <a href="javascript:;" data-id="1" class="list-group-item">品牌详情</a>
                                                <a href="javascript:;" data-id="2" class="list-group-item">品牌商品列表</a>
                                            </div>
148 149 150 151 152
                                        <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="3" class="list-group-item">加入购物车</a>
                                                <a href="javascript:;" data-id="4" class="list-group-item">购物车列表</a>
                                                <a href="javascript:;" data-id="5" class="list-group-item">删除购物车</a>
jinglong authored
153 154
                                                <a href="javascript:;" data-id="6" class="list-group-item">猜你喜欢商品列表</a>
                                                <a href="javascript:;" data-id="7" class="list-group-item">商品结算</a>
jinglong authored
155
                                                <a href="javascript:;" data-id="8" class="list-group-item">结算可使用优惠券</a>
156
                                                <a href="javascript:;" data-id="9" class="list-group-item">获取最近订单的地址</a>
157
                                            </div>
jinglong authored
158 159 160
                                        <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="公共方法">
                                            </div>
161 162
                                        <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="优惠券接口">
163 164 165
                                                <a href="javascript:;" data-id="10" class="list-group-item">领券中心</a>
                                                <a href="javascript:;" data-id="11" class="list-group-item">品牌优惠券</a>
                                                <a href="javascript:;" data-id="12" class="list-group-item">商品优惠券</a>
166
                                            </div>
jinglong authored
167 168
                                        <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="物流接口">
jinglong authored
169
                                                <a href="javascript:;" data-id="13" class="list-group-item">物流轨迹</a>
jinglong authored
170
                                            </div>
jinglong authored
171 172
                                        <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="商品接口">
jinglong authored
173 174 175 176
                                                <a href="javascript:;" data-id="14" class="list-group-item">商品详情</a>
                                                <a href="javascript:;" data-id="15" class="list-group-item">别人也在看商品列表</a>
                                                <a href="javascript:;" data-id="16" class="list-group-item">品类商品列表</a>
                                                <a href="javascript:;" data-id="17" class="list-group-item">其他推荐商品列表</a>
jinglong authored
177 178 179
                                            </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="首页接口">
jinglong authored
180 181 182 183
                                                <a href="javascript:;" data-id="18" class="list-group-item">首页</a>
                                                <a href="javascript:;" data-id="19" class="list-group-item">弹窗广告位</a>
                                                <a href="javascript:;" data-id="20" class="list-group-item">推荐商品列表</a>
                                                <a href="javascript:;" data-id="21" class="list-group-item">晒单详情</a>
184 185 186
                                            </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="新人特惠接口">
jinglong authored
187 188 189
                                                <a href="javascript:;" data-id="22" class="list-group-item">领取优惠券</a>
                                                <a href="javascript:;" data-id="23" class="list-group-item">新人专享礼包</a>
                                                <a href="javascript:;" data-id="24" class="list-group-item">新人特惠商品列表</a>
jinglong authored
190 191 192
                                            </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="订单接口">
jinglong authored
193 194 195 196 197 198 199 200 201 202
                                                <a href="javascript:;" data-id="25" class="list-group-item">我的订单状态数量</a>
                                                <a href="javascript:;" data-id="26" class="list-group-item">我的订单</a>
                                                <a href="javascript:;" data-id="27" class="list-group-item">订单详情</a>
                                                <a href="javascript:;" data-id="28" class="list-group-item">退款,退换货原因</a>
                                                <a href="javascript:;" data-id="29" class="list-group-item">取消订单</a>
                                                <a href="javascript:;" data-id="30" class="list-group-item">申请退款</a>
                                                <a href="javascript:;" data-id="31" class="list-group-item">退款撤销</a>
                                                <a href="javascript:;" data-id="32" class="list-group-item">申请退换货</a>
                                                <a href="javascript:;" data-id="33" class="list-group-item">退换货撤销</a>
                                                <a href="javascript:;" data-id="34" class="list-group-item">确认收货</a>
jinglong authored
203
                                            </div>
jinglong authored
204 205
                                        <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="支付接口">
jinglong authored
206 207
                                                <a href="javascript:;" data-id="35" class="list-group-item">支付订单</a>
                                                <a href="javascript:;" data-id="36" class="list-group-item">立即购买</a>
jinglong authored
208
                                            </div>
jinglong authored
209 210
                                        <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="商品检索接口">
jinglong authored
211
                                                <a href="javascript:;" data-id="37" class="list-group-item">商品检索列表</a>
jinglong authored
212 213 214
                                            </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="品类接口">
jinglong authored
215
                                                <a href="javascript:;" data-id="38" class="list-group-item">品类分类</a>
jinglong authored
216
                                            </div>
217 218
                                        <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="个人中心接口">
jinglong authored
219 220 221 222 223 224 225 226
                                                <a href="javascript:;" data-id="39" class="list-group-item">小程序登录</a>
                                                <a href="javascript:;" data-id="40" class="list-group-item">获取个人信息(新人/旧人)</a>
                                                <a href="javascript:;" data-id="41" class="list-group-item">获取二维码</a>
                                                <a href="javascript:;" data-id="42" class="list-group-item">收藏</a>
                                                <a href="javascript:;" data-id="43" class="list-group-item">取消收藏</a>
                                                <a href="javascript:;" data-id="44" class="list-group-item">我的收藏</a>
                                                <a href="javascript:;" data-id="45" class="list-group-item">我的优惠券</a>
                                                <a href="javascript:;" data-id="46" class="list-group-item">分享获取礼包</a>
jinglong authored
227 228 229 230
                                            </div>
                                    </div>
            </div>
            <div class="panel-group" id="accordion">
jinglong authored
231
                                <h2>品牌接口</h2>
232
                <hr>
jinglong authored
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
                                <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/brand/brandType</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne0" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info0">
                                    <div class="well">
                                        品牌分类                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox0">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/brand/brandType" method="GET" name="form0" id="form0">
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="0">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="0">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers0"></pre>
                                                            <pre id="response0"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

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

                                <div class="tab-pane" id="sample0">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response0">{
        "code": 1,
        "msg": "成功",
        "time": "1574939519",
        "data": {
            "data": [
                {
                    "id": 1,//品牌分类id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/d36d8475bc3bdb999dff26d019c608ed.png",//图片路径
                    "name": "HEDRMAR1",//品牌名称
                    "address": "葡萄牙1"//品牌产地
                },
                {
                    "id": 2,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/c53f07984e6d64d00e9bf1c9fb6ebf72.png",
                    "name": "HEDRMAR2",
                    "address": "葡萄牙2"
                }
            ],
335 336 337 338 339 340 341 342 343 344 345
            "images": [//右侧轮播图
                {
                    "id": 5,
                    "image": "/uploads/20191127/d36d8475bc3bdb999dff26d019c608ed.png",//图片
                    "url": "/pages/index/brandDetail/brandDetail?id=1"//路径
                },
                {
                    "id": 4,
                    "image": "/uploads/20191207/7a9772ee5e3947c8ad0e8bff2069e1ac.jpg",
                    "url": ""
                },
jinglong authored
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 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468
            ]
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-1">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 品牌详情 <span class="text-muted">/api/brand/brandDetail</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>b_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>品牌分类id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="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/brand/brandDetail" method="GET" name="form1" id="form1">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="b_id">b_id</label>
                                                            <input type="inter" class="form-control input-sm" id="b_id" required placeholder="品牌分类id" name="b_id">
                                                        </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">{
        "code": 1,
        "msg": "成功",
        "time": "1575007401",
        "data": {
            "id": 1,//品牌id
            "image": "http://jinglong.springchunjia.cn/uploads/20191127/d36d8475bc3bdb999dff26d019c608ed.png",//品牌图片路径
            "name": "HEDRMAR1",//品牌名称
            "address": "葡萄牙1",//品牌所属地
            "introduce": "超百年历史的葡萄牙餐具",//品牌简介
            "brand_explain": "",//品牌详情(富文本)
jinglong authored
469 470 471 472 473
            "tag": [//品牌标签
                "日式简约",
                "隐秘乡奢",
                "家庭情侣"
            ],
jinglong authored
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
            "file": "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4",//视频路径
            "image_long": "http://jinglong.springchunjia.cn/uploads/20191127/bf35ec1b42a6d1c95355ce22fa633a43.jpg"//长图路径
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-2">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 品牌商品列表 <span class="text-muted">/api/brand/brandGoodsList</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne2" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info2">
                                    <div class="well">
                                        品牌商品列表                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>b_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>品牌id</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分页页码</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox2">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/brand/brandGoodsList" method="GET" name="form2" id="form2">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="b_id">b_id</label>
                                                            <input type="inter" class="form-control input-sm" id="b_id" required placeholder="品牌id" name="b_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="2">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="2">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers2"></pre>
                                                            <pre id="response2"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

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

                                <div class="tab-pane" id="sample2">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response2">{
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
jinglong authored
612 613 614 615
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
jinglong authored
616 617
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
618
                    is_new_tag": 0//新人价格标签(0:不显示,1:显示)
jinglong authored
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                        "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
643
                                <h2>购物车接口</h2>
jinglong authored
644 645 646 647
                <hr>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-3">
                        <h4 class="panel-title">
648 649
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 加入购物车 <span class="text-muted">/api/cars/addCar</span></a>
jinglong authored
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
                        </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">
667
                                        加入购物车                                    </div>
jinglong authored
668 669 670
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688
                                                                                        <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>
jinglong authored
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709
                                                                                    </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>goods_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品id</td>
                                                    </tr>
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727
                                                                                                        <tr>
                                                        <td>style</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品款式</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品价格(新人价格或销售价)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>goods_number</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品数量</td>
                                                    </tr>
jinglong authored
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
                                                                                                    </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="sandbox3">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
743 744 745 746 747 748 749 750 751 752 753
                                                <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">
jinglong authored
754 755
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
756
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/cars/addCar" method="POST" name="form3" id="form3">
jinglong authored
757 758 759 760 761
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
                                                        </div>
                                                                                                                <div class="form-group">
762 763 764 765 766 767 768 769 770 771 772 773
                                                            <label class="control-label" for="style">style</label>
                                                            <input type="string" class="form-control input-sm" id="style" required placeholder="商品款式" name="style">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="price">price</label>
                                                            <input type="inter" class="form-control input-sm" id="price" required placeholder="商品价格(新人价格或销售价)" name="price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_number">goods_number</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_number" required placeholder="商品数量" name="goods_number">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806
                                                            <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">{
        "code": 1,
        "msg": "成功",
807 808
        "time": "1575103466",
        "data": null
jinglong authored
809 810 811 812 813 814 815 816 817 818 819 820 821
    }</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">
                            <span class="label label-success">GET</span>
822
                            <a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 购物车列表 <span class="text-muted">/api/cars/carList</span></a>
jinglong authored
823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839
                        </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">
840
                                        购物车列表                                    </div>
jinglong authored
841 842 843 844 845 846 847 848 849 850 851 852 853 854
                                    <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>
855 856
                                                        <td>token</td>
                                                        <td>string</td>
jinglong authored
857
                                                        <td></td>
858
                                                        <td>请求的Token</td>
jinglong authored
859 860 861 862 863 864
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
865 866 867 868 869 870
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
jinglong authored
871 872 873 874 875 876 877 878 879 880
                                        <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">
881 882 883 884 885 886 887 888 889 890 891
                                                <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">
jinglong authored
892 893
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
894
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/cars/carList" method="GET" name="form4" id="form4">
jinglong authored
895
                                                                                                                <div class="form-group">
896
jinglong authored
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931
                                                        </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">{
        "code": 1,
        "msg": "成功",
932
        "time": "1575102913",
jinglong authored
933 934 935
        "data": {
            "data": [
                {
936 937 938
                    "id": 1,//购物车id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/287ca016a4d41a239ec77c91d982309d.png",//商品图片
                    "price": 100,//商品价格
jinglong authored
939
                    "style": "",//商品款式
940 941 942 943
                    "goods_id": 1,//商品id
                    "goods_number": 2,//商品数量
                    "name": "MONENT 动感系列动感系列动感系列",//商品名称
                    "introduce": "轻波款,为客厅缀上霞光淡雾"//商品简介
944
                    "stock": "12"//商品库存
jinglong authored
945 946
                },
                {
947 948 949 950 951 952 953
                    "id": 2,
                    "price": 100,
                    "goods_id": 2,
                    "goods_number": 1,
                    "name": "MONENT 动感系列动感系列",
                    "introduce": "轻波款,为客厅缀上霞光淡雾"
                }
jinglong authored
954
            ],
955
            "total_price": 300
jinglong authored
956 957 958 959 960 961 962 963 964 965
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
966
                                <div class="panel panel-default">
jinglong authored
967
                    <div class="panel-heading" id="heading-5">
jinglong authored
968 969
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
970
                            <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 删除购物车 <span class="text-muted">/api/cars/deleteCar</span></a>
jinglong authored
971 972
                        </h4>
                    </div>
jinglong authored
973
                    <div id="collapseOne5" class="panel-collapse collapse">
jinglong authored
974 975 976
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
977 978 979 980
                            <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>
jinglong authored
981 982 983 984 985
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
986
                                <div class="tab-pane active" id="info5">
jinglong authored
987
                                    <div class="well">
988
                                        删除购物车                                    </div>
jinglong authored
989 990 991
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
                                                                                        <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>
jinglong authored
1010 1011 1012 1013 1014
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
jinglong authored
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
1026
                                                        <td>car_id</td>
jinglong authored
1027 1028
                                                        <td>inter</td>
                                                        <td></td>
1029
                                                        <td>购物车id</td>
jinglong authored
1030 1031 1032
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
1033 1034 1035 1036 1037 1038 1039 1040 1041
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
1042
                                <div class="tab-pane" id="sandbox5">
jinglong authored
1043 1044 1045
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
1046
                                                <div class="panel-heading"><strong>Headers</strong></div>
jinglong authored
1047
                                                <div class="panel-body">
1048
                                                    <div class="headers">
jinglong authored
1049
                                                                                                                <div class="form-group">
1050 1051
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
jinglong authored
1052
                                                        </div>
1053 1054 1055 1056 1057 1058 1059
                                                                                                            </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/cars/deleteCar" method="GET" name="form5" id="form5">
jinglong authored
1060
                                                                                                                <div class="form-group">
1061 1062
                                                            <label class="control-label" for="car_id">car_id</label>
                                                            <input type="inter" class="form-control input-sm" id="car_id" required placeholder="购物车id" name="car_id">
jinglong authored
1063 1064
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
1065 1066
                                                            <button type="submit" class="btn btn-success send" rel="5">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="5">重置</button>
jinglong authored
1067 1068 1069 1070 1071 1072 1073 1074 1075
                                                        </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">
jinglong authored
1076 1077
                                                            <pre id="response_headers5"></pre>
                                                            <pre id="response5"></pre>
jinglong authored
1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091
                                                        </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 -->
jinglong authored
1092
                                <div class="tab-pane" id="sample5">
jinglong authored
1093 1094
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
1095
                                            <pre id="sample_response5">{
1096 1097
        "code": 1,
        "msg": "成功",
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
        "time": "1575103466",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-6">
                        <h4 class="panel-title">
jinglong authored
1112 1113
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 猜你喜欢商品列表 <span class="text-muted">/api/cars/likeGodsList</span></a>
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
                        </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">
jinglong authored
1131
                                        猜你喜欢商品列表                                    </div>
1132 1133 1134
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
                                                                                        <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>
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168
                                                                                    </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>
jinglong authored
1169 1170
                                                        <td>page</td>
                                                        <td>inter</td>
1171
                                                        <td></td>
jinglong authored
1172
                                                        <td>分页页码</td>
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox6">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
                                                <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">
1200 1201
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
1202
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/cars/likeGodsList" method="GET" name="form6" id="form6">
1203
                                                                                                                <div class="form-group">
jinglong authored
1204 1205
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
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 1234 1235 1236 1237 1238 1239 1240
                                                        </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">{
        "code": 1,
        "msg": "成功",
jinglong authored
1241
        "time": "1574941706",
1242 1243 1244
        "data": {
            "data": [
                {
jinglong authored
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
1259
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
1260 1261
                },
                {
jinglong authored
1262
                    "id": 4,
1263
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
jinglong authored
1264 1265 1266 1267 1268 1269 1270 1271 1272
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
1273
            ],
jinglong authored
1274
            "total_page": 1
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287
        }
    }</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">
jinglong authored
1288 1289
                            <span class="label label-primary">POST</span>
                            <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 商品结算 <span class="text-muted">/api/cars/settleGoods</span></a>
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
                        </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">
jinglong authored
1307
                                        商品结算                                    </div>
jinglong authored
1308 1309 1310
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328
                                                                                        <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>
jinglong authored
1329 1330 1331 1332 1333
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
jinglong authored
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>goods_id</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品id(多个以逗号隔开,如:1,3,4)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>price</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品价格(多个以逗号隔开,如:100,10,200)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>goods_number</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品数量(多个以逗号隔开,如:10,10,10)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>style</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品款式(多个以逗号隔开,如:‘款式1,款式2,款式3’)</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382
                                                                                    </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">
jinglong authored
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393
                                                <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">
jinglong authored
1394 1395
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
1396
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/cars/settleGoods" method="POST" name="form7" id="form7">
jinglong authored
1397
                                                                                                                <div class="form-group">
jinglong authored
1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="string" class="form-control input-sm" id="goods_id" required placeholder="商品id(多个以逗号隔开,如:1,3,4)" name="goods_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="price">price</label>
                                                            <input type="string" class="form-control input-sm" id="price" required placeholder="商品价格(多个以逗号隔开,如:100,10,200)" name="price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_number">goods_number</label>
                                                            <input type="string" class="form-control input-sm" id="goods_number" required placeholder="商品数量(多个以逗号隔开,如:10,10,10)" name="goods_number">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="style">style</label>
                                                            <input type="string" class="form-control input-sm" id="style" required placeholder="商品款式(多个以逗号隔开,如:‘款式1,款式2,款式3’)" name="style">
jinglong authored
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
                                                        </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">
jinglong authored
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472
                                            <pre id="sample_response7">{
        "code": 1,
        "msg": "成功",
        "time": "1575106933",
        "data": {
            "data": [
                {
                    "id": 2,//商品id
                    "name": "MONENT 动感系列动感系列",//商品名称
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//商品图片路径
                    "introduce": "轻波款,为客厅缀上霞光淡雾",//商品简介
                    "price": "250",//商品价格
                    "goods_number": "5"//商品数量
                    "style": "款式1"//商品款式
                },
                {
                    "id": 1,
                    "name": "MONENT 动感系列动感系列动感系列",
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "introduce": "轻波款,为客厅缀上霞光淡雾",
                    "price": "100",
                    "goods_number": "3"
                }
            ],
            "total_goods_price": 1550,//商品总金额
            "total_expense_price": 10,//运费总金额
            "total_price": 1560//总金额(商品总金额+运费总金额)
        }
    }</pre>
jinglong authored
1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484
                                        </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>
jinglong authored
1485
                            <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 结算可使用优惠券 <span class="text-muted">/api/cars/settleUseCoupon</span></a>
jinglong authored
1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502
                        </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">
jinglong authored
1503
                                        结算可使用优惠券                                    </div>
jinglong authored
1504 1505 1506
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524
                                                                                        <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>
jinglong authored
1525 1526 1527 1528 1529
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
jinglong authored
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
1541 1542 1543 1544 1545 1546
                                                        <td>goods_id</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品id(多个以逗号隔开,如:1,3,4)</td>
                                                    </tr>
                                                                                                        <tr>
jinglong authored
1547 1548 1549 1550 1551 1552
                                                        <td>price</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品金额(多个以逗号隔开,如:100,200,300)</td>
                                                    </tr>
                                                                                                        <tr>
jinglong authored
1553
                                                        <td>total_goods_price</td>
jinglong authored
1554 1555
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
1556
                                                        <td>商品总金额</td>
jinglong authored
1557 1558 1559
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572
                                                                                    </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">
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583
                                                <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">
jinglong authored
1584 1585
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
1586
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/cars/settleUseCoupon" method="GET" name="form8" id="form8">
jinglong authored
1587
                                                                                                                <div class="form-group">
jinglong authored
1588 1589 1590 1591
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="string" class="form-control input-sm" id="goods_id" required placeholder="商品id(多个以逗号隔开,如:1,3,4)" name="goods_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
1592 1593 1594 1595
                                                            <label class="control-label" for="price">price</label>
                                                            <input type="string" class="form-control input-sm" id="price" required placeholder="商品金额(多个以逗号隔开,如:100,200,300)" name="price">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
1596 1597
                                                            <label class="control-label" for="total_goods_price">total_goods_price</label>
                                                            <input type="inter" class="form-control input-sm" id="total_goods_price" required placeholder="商品总金额" name="total_goods_price">
jinglong authored
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
                                                        </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">
jinglong authored
1630
                                            <pre id="sample_response8">{
1631 1632
        "code": 1,
        "msg": "成功",
jinglong authored
1633 1634 1635 1636 1637 1638 1639 1640 1641 1642
        "time": "1575372162",
        "data": [
            {
                "id": 2,//优惠券id
                "coupon_tag": "无门槛",//优惠券(无门槛,折扣券,满减券)
                "coupon_price": "¥300",//(折扣或减少金额)
                "coupon_tag1": "无门槛",优惠券(无门槛,满多少可用)
                "coupon_name": "全场优惠券",//优惠券名称
                "end_time": "2020.1.31",//优惠券有效期
                "type": "全场通用"//优惠券用途
1643 1644
                "is_discount": "0"//是否为折扣(0:否,1:是)
                "price_tag": 100 //折扣或者减少金额
jinglong authored
1645 1646 1647 1648
                 "use_goods_id": [//适用商品id
                    "15",
                    "16"
                ]
jinglong authored
1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672
            },
            {
                "id": 10,
                "coupon_tag": "折扣券",
                "coupon_price": "9.5折",
                "coupon_tag1": "满2000可用",
                "coupon_name": "商品优惠券",
                "end_time": "2020.1.31",
                "type": "商品可用"
            }
        ]
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-9">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
1673
                            <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 获取最近订单的地址 <span class="text-muted">/api/cars/getOrderAddress</span></a>
jinglong authored
1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690
                        </h4>
                    </div>
                    <div id="collapseOne9" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info9">
                                    <div class="well">
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
                                        获取最近订单的地址                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox9">
                                    <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/cars/getOrderAddress" method="GET" name="form9" id="form9">
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="9">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="9">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers9"></pre>
                                                            <pre id="response9"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

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

                                <div class="tab-pane" id="sample9">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response9">{
        "code": 1,
        "msg": "成功",
        "time": "1575462785",
        "data": {
            "id": 2,
            "receive_name": "景龙1",
            "receive_mobile": "13752011725",
            "receive_address": "天津市南开区1"
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>公共方法</h2>
                <hr>
                                <h2>优惠券接口</h2>
                <hr>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-10">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 领券中心 <span class="text-muted">/api/coupons/couponCenterList</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne10" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info10">
                                    <div class="well">
jinglong authored
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
                                        领券中心                                    </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>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分页页码</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
1862
                                <div class="tab-pane" id="sandbox10">
jinglong authored
1863 1864 1865 1866 1867
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
1868
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/coupons/couponCenterList" method="GET" name="form10" id="form10">
jinglong authored
1869 1870 1871 1872 1873
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
1874 1875
                                                            <button type="submit" class="btn btn-success send" rel="10">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="10">重置</button>
jinglong authored
1876 1877 1878 1879 1880 1881 1882 1883 1884
                                                        </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">
1885 1886
                                                            <pre id="response_headers10"></pre>
                                                            <pre id="response10"></pre>
jinglong authored
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900
                                                        </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 -->
1901
                                <div class="tab-pane" id="sample10">
jinglong authored
1902 1903
                                    <div class="row">
                                        <div class="col-md-12">
1904
                                            <pre id="sample_response10">{
jinglong authored
1905 1906
        "code": 1,
        "msg": "成功",
1907
        "time": "1575365883",
1908
        "data": {
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929
            "data": [
                {
                    "id": 2,//优惠券id
                    "coupon_tag": "无门槛",//优惠券(无门槛,折扣券,满减券)
                    "coupon_price": "¥300",//(折扣或减少金额)
                    "coupon_tag1": "无门槛",优惠券(无门槛,满多少可用)
                    "is_receive": 0,//是否领取(0:否,1:是)
                    "coupon_name": "全场优惠券",//优惠券名称
                    "coupon_number": 100,//优惠券剩余数量(0:领光了)
                    "type": "全场通用"//优惠券用途
                },
                {
                    "id": 11,
                    "coupon_tag": "无门槛",
                    "coupon_price": "¥100",
                    "coupon_tag1": "无门槛",
                    "is_receive": 0,
                    "coupon_name": "品牌箱包优惠券",
                    "coupon_number": 100,
                    "type": "部分品牌可用"
                },
1930
            ],
1931
            "total_page": 1//总页码
1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
1943
                    <div class="panel-heading" id="heading-11">
1944 1945
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
1946
                            <a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 品牌优惠券 <span class="text-muted">/api/coupons/brandCouponList</span></a>
1947 1948
                        </h4>
                    </div>
1949
                    <div id="collapseOne11" class="panel-collapse collapse">
1950 1951 1952
                        <div class="panel-body">

                            <!-- Nav tabs -->
1953 1954 1955 1956
                            <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>
1957 1958 1959 1960 1961
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
1962
                                <div class="tab-pane active" id="info11">
1963
                                    <div class="well">
1964
                                        品牌优惠券                                    </div>
1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
                                    <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>
1985
                                                        <td>b_id</td>
1986 1987
                                                        <td>inter</td>
                                                        <td></td>
1988
                                                        <td>品牌分类id</td>
1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
                                                    </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 -->
2001
                                <div class="tab-pane" id="sandbox11">
2002 2003 2004 2005 2006
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
2007
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/coupons/brandCouponList" method="GET" name="form11" id="form11">
2008
                                                                                                                <div class="form-group">
2009 2010
                                                            <label class="control-label" for="b_id">b_id</label>
                                                            <input type="inter" class="form-control input-sm" id="b_id" required placeholder="品牌分类id" name="b_id">
2011 2012
                                                        </div>
                                                                                                                <div class="form-group">
2013 2014
                                                            <button type="submit" class="btn btn-success send" rel="11">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="11">重置</button>
2015 2016 2017 2018 2019 2020 2021 2022 2023
                                                        </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">
2024 2025
                                                            <pre id="response_headers11"></pre>
                                                            <pre id="response11"></pre>
2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039
                                                        </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 -->
2040
                                <div class="tab-pane" id="sample11">
2041 2042
                                    <div class="row">
                                        <div class="col-md-12">
2043
                                            <pre id="sample_response11">{
2044 2045
        "code": 1,
        "msg": "成功",
2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062
        "time": "1575367045",
        "data": [
            {
                "id": 5,优惠券id
                "coupon_number": 100,//优惠券剩余数量(0:显示领光了)
                "is_receive": 0,//是否领取(0:否,1:是)
                "coupon_tag": "无门槛",//优惠券(无门槛或满减金额)
                "coupon_price": "¥100"//(折扣或减少金额)
            },
            {
                "id": 11,
                "coupon_number": 100,
                "is_receive": 0,
                "coupon_tag": "无门槛",
                "coupon_price": "¥100"
            }
        ]
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
2073
                    <div class="panel-heading" id="heading-12">
2074 2075
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
2076
                            <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 商品优惠券 <span class="text-muted">/api/coupons/goodsCouponList</span></a>
2077 2078
                        </h4>
                    </div>
2079
                    <div id="collapseOne12" class="panel-collapse collapse">
2080 2081 2082
                        <div class="panel-body">

                            <!-- Nav tabs -->
2083 2084 2085 2086
                            <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>
2087 2088 2089 2090 2091
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
2092
                                <div class="tab-pane active" id="info12">
2093
                                    <div class="well">
2094
                                        商品优惠券                                    </div>
2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114
                                    <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>
2115
                                                        <td>goods_id</td>
2116 2117
                                                        <td>inter</td>
                                                        <td></td>
2118
                                                        <td>商品id</td>
2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130
                                                    </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 -->
2131
                                <div class="tab-pane" id="sandbox12">
2132 2133 2134 2135 2136
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
2137
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/coupons/goodsCouponList" method="GET" name="form12" id="form12">
2138
                                                                                                                <div class="form-group">
2139 2140
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
2141 2142
                                                        </div>
                                                                                                                <div class="form-group">
2143 2144
                                                            <button type="submit" class="btn btn-success send" rel="12">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="12">重置</button>
2145 2146 2147 2148 2149 2150 2151 2152 2153
                                                        </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">
2154 2155
                                                            <pre id="response_headers12"></pre>
                                                            <pre id="response12"></pre>
2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169
                                                        </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 -->
2170
                                <div class="tab-pane" id="sample12">
2171 2172
                                    <div class="row">
                                        <div class="col-md-12">
2173
                                            <pre id="sample_response12">{
2174 2175
        "code": 1,
        "msg": "成功",
2176 2177 2178 2179 2180 2181 2182
        "time": "1575372162",
        "data": [
            {
                "id": 2,//优惠券id
                "coupon_tag": "无门槛",//优惠券(无门槛,折扣券,满减券)
                "coupon_price": "¥300",//(折扣或减少金额)
                "coupon_tag1": "无门槛",优惠券(无门槛,满多少可用)
jinglong authored
2183
                "is_receive": 0,//是否领取(0:否,1:是)
2184
                "coupon_name": "全场优惠券",//优惠券名称
jinglong authored
2185
                "coupon_number": 100,//优惠券剩余数量(0:领光了)
2186 2187 2188
                "type": "全场通用"//优惠券用途
            },
            {
jinglong authored
2189 2190 2191 2192 2193 2194 2195 2196
                "id": 2,//优惠券id
                "coupon_tag": "无门槛",//优惠券(无门槛,折扣券,满减券)
                "coupon_price": "¥300",//(折扣或减少金额)
                "coupon_tag1": "无门槛",优惠券(无门槛,满多少可用)
                "is_receive": 0,//是否领取(0:否,1:是)
                "coupon_name": "全场优惠券",//优惠券名称
                "coupon_number": 100,//优惠券剩余数量(0:领光了)
                "type": "全场通用"//优惠券用途
2197 2198
            }
        ]
jinglong authored
2199 2200 2201 2202 2203 2204 2205 2206 2207
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
2208
                                <h2>物流接口</h2>
jinglong authored
2209 2210
                <hr>
                                <div class="panel panel-default">
2211
                    <div class="panel-heading" id="heading-13">
jinglong authored
2212 2213
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
2214
                            <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> 物流轨迹 <span class="text-muted">/api/express/getExpress</span></a>
jinglong authored
2215 2216
                        </h4>
                    </div>
2217
                    <div id="collapseOne13" class="panel-collapse collapse">
jinglong authored
2218 2219 2220
                        <div class="panel-body">

                            <!-- Nav tabs -->
2221 2222 2223 2224
                            <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>
jinglong authored
2225 2226 2227 2228 2229
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
2230
                                <div class="tab-pane active" id="info13">
jinglong authored
2231
                                    <div class="well">
jinglong authored
2232
                                        物流轨迹                                    </div>
jinglong authored
2233 2234 2235
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253
                                                                                        <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>
jinglong authored
2254 2255 2256 2257 2258
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
2270
                                                        <td>order_id</td>
2271 2272
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
2273
                                                        <td>订单id</td>
2274 2275 2276
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
2277 2278 2279 2280 2281 2282 2283 2284 2285
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
2286
                                <div class="tab-pane" id="sandbox13">
jinglong authored
2287 2288 2289
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
jinglong authored
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300
                                                <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">
jinglong authored
2301 2302
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
2303
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/express/getExpress" method="GET" name="form13" id="form13">
jinglong authored
2304
                                                                                                                <div class="form-group">
jinglong authored
2305 2306
                                                            <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">
jinglong authored
2307 2308
                                                        </div>
                                                                                                                <div class="form-group">
2309 2310
                                                            <button type="submit" class="btn btn-success send" rel="13">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="13">重置</button>
jinglong authored
2311 2312 2313 2314 2315 2316 2317 2318 2319
                                                        </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">
2320 2321
                                                            <pre id="response_headers13"></pre>
                                                            <pre id="response13"></pre>
jinglong authored
2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335
                                                        </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 -->
2336
                                <div class="tab-pane" id="sample13">
jinglong authored
2337 2338
                                    <div class="row">
                                        <div class="col-md-12">
2339
                                            <pre id="sample_response13">{
jinglong authored
2340 2341
        "code": 1,
        "msg": "成功",
jinglong authored
2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359
        "time": "1575532542",
        "data": {
        "LogisticCode": "75317246876602",//快递单号
        "ShipperCode": "ZTO",//快递编码
        "Traces": [
            {
                "AcceptStation": "【东莞市】  【东莞厚街】(0769-86947628) 的 张小姐(18027104980) 已揽收",//轨迹
                "AcceptTime": "2019-12-03 18:43:03"//时间
            },
            {
                "AcceptStation": "【东莞市】  快件离开 【东莞厚街】 已发往 【天津中转部】",
                "AcceptTime": "2019-12-04 00:18:01"
            },
            {
                "AcceptStation": "【天津市】  快件离开 【天津中转部】 已发往 【天津南开六部】",
                "AcceptTime": "2019-12-05 14:35:03"
            }
        ],
jinglong authored
2360
        "State": "2",//2:在途中,3:签收,4:问题件
jinglong authored
2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 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 2478 2479
        "EBusinessID": "1442433",
        "Success": true,
        "LogisticCompany": "中通快递"//快递公司
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>商品接口</h2>
                <hr>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-14">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion14" href="#collapseOne14"> 商品详情 <span class="text-muted">/api/goods/goodsDetail</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne14" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info14">
                                    <div class="well">
                                        商品详情                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>goods_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox14">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/goods/goodsDetail" method="GET" name="form14" id="form14">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="14">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="14">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers14"></pre>
                                                            <pre id="response14"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

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

                                <div class="tab-pane" id="sample14">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response14">{
        "code": 1,
        "msg": "成功",
2480
        "time": "1574993089",
2481
        "data": {
2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494
            "id": 1,//商品id
            "type": 1,
            "t_id": 1,
            "file": "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4",//视频路径
            "image": "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.jpg",//缩略图路径
            "name": "MONENT 动感系列",//商品名称
            "name_en": "Monent dynamic series",//商品名称(英文)
            "sale_price": 2599,//销售价格
            "market_price": 2699,//市场价格
            "expense_price": 0,//运费(0:显示包运费标签)
            "is_collection": 0,//是否收藏(0:否,1:是)
            "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
            "is_use_number": 0//优惠券可领取数量
jinglong authored
2495 2496 2497 2498
            "sale_price": [//商品规格
                100,
                200
            ],
2499 2500 2501
            "style": [//商品规格
                "主餐匙,茶匙各1件",
                "古堡灰"
2502
            ],
2503 2504 2505 2506
            "tag": [//商品标签
                "AB级",
                "ABX级",
                "ABN级"
2507
            ],
jinglong authored
2508 2509 2510 2511
            "stock": [//商品标签
                100,
                100
            ],//商品库存
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527
            "introduce": "轻波款,为客厅缀上霞光淡雾",//商品简介
            "detail": "",//商品详情(富文本)
            "frame": [//视频第一到第六帧图片(无视频返回空数组)
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/1",
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/2",
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/3",
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/4",
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/5",
                "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/6"
            ],
             "b_type": {//所属品牌(品类则返回空字符串)
                "id": 1,//品牌id
                "image": "http://jinglong.springchunjia.cn/uploads/20191127/d36d8475bc3bdb999dff26d019c608ed.png",//品牌图片路径
                "name": "HEDRMAR1",//品牌名称
                "address": "葡萄牙1"//品牌所属地
            }
2528
        }
2529
    }</pre>
jinglong authored
2530 2531 2532 2533 2534 2535 2536 2537 2538
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
2539
                    <div class="panel-heading" id="heading-15">
jinglong authored
2540
                        <h4 class="panel-title">
2541
                            <span class="label label-success">GET</span>
jinglong authored
2542
                            <a data-toggle="collapse" data-parent="#accordion15" href="#collapseOne15"> 别人也在看商品列表 <span class="text-muted">/api/goods/otherBrowseGoodsList</span></a>
jinglong authored
2543 2544
                        </h4>
                    </div>
jinglong authored
2545
                    <div id="collapseOne15" class="panel-collapse collapse">
jinglong authored
2546 2547 2548
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
2549 2550 2551 2552
                            <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>
jinglong authored
2553 2554 2555 2556 2557
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
2558
                                <div class="tab-pane active" id="info15">
jinglong authored
2559
                                    <div class="well">
2560
                                        别人也在看商品列表                                    </div>
jinglong authored
2561 2562 2563 2564 2565 2566 2567 2568 2569
                                    <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">
2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>goods_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
2588 2589 2590 2591 2592 2593 2594 2595 2596
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
2597
                                <div class="tab-pane" id="sandbox15">
jinglong authored
2598 2599 2600 2601 2602
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
2603
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/goods/otherBrowseGoodsList" method="GET" name="form15" id="form15">
jinglong authored
2604
                                                                                                                <div class="form-group">
2605 2606
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
jinglong authored
2607 2608
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
2609 2610
                                                            <button type="submit" class="btn btn-success send" rel="15">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="15">重置</button>
jinglong authored
2611 2612 2613 2614 2615 2616 2617 2618 2619
                                                        </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">
jinglong authored
2620 2621
                                                            <pre id="response_headers15"></pre>
                                                            <pre id="response15"></pre>
jinglong authored
2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635
                                                        </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 -->
jinglong authored
2636
                                <div class="tab-pane" id="sample15">
jinglong authored
2637 2638
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
2639
                                            <pre id="sample_response15">{
2640 2641
        "code": 1,
        "msg": "成功",
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
2683
                    <div class="panel-heading" id="heading-16">
2684 2685
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
2686
                            <a data-toggle="collapse" data-parent="#accordion16" href="#collapseOne16"> 品类商品列表 <span class="text-muted">/api/goods/sortGoodsList</span></a>
2687 2688
                        </h4>
                    </div>
jinglong authored
2689
                    <div id="collapseOne16" class="panel-collapse collapse">
2690 2691 2692
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
2693 2694 2695 2696
                            <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>
2697 2698 2699 2700 2701
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
2702
                                <div class="tab-pane active" id="info16">
2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764
                                    <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>s_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>品类分类id</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>hots</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品热度排序(1:降序,2:升序)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>sales</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品销量排序(1:降序,2:升序)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品价格排序(1:降序,2:升序)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分页页码</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
2765
                                <div class="tab-pane" id="sandbox16">
2766 2767 2768 2769 2770
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
2771
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/goods/sortGoodsList" method="GET" name="form16" id="form16">
2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="s_id">s_id</label>
                                                            <input type="inter" class="form-control input-sm" id="s_id" required placeholder="品类分类id" name="s_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="hots">hots</label>
                                                            <input type="inter" class="form-control input-sm" id="hots"  placeholder="商品热度排序(1:降序,2:升序)" name="hots">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="sales">sales</label>
                                                            <input type="inter" class="form-control input-sm" id="sales"  placeholder="商品销量排序(1:降序,2:升序)" name="sales">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="price">price</label>
                                                            <input type="inter" class="form-control input-sm" id="price"  placeholder="商品价格排序(1:降序,2:升序)" name="price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
2793 2794
                                                            <button type="submit" class="btn btn-success send" rel="16">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="16">重置</button>
2795 2796 2797 2798 2799 2800 2801 2802 2803
                                                        </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">
jinglong authored
2804 2805
                                                            <pre id="response_headers16"></pre>
                                                            <pre id="response16"></pre>
2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819
                                                        </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 -->
jinglong authored
2820
                                <div class="tab-pane" id="sample16">
2821 2822
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
2823
                                            <pre id="sample_response16">{
2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
2871
                    <div class="panel-heading" id="heading-17">
2872 2873
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
2874
                            <a data-toggle="collapse" data-parent="#accordion17" href="#collapseOne17"> 其他推荐商品列表 <span class="text-muted">/api/goods/otherRecommendGoodsList</span></a>
2875 2876
                        </h4>
                    </div>
jinglong authored
2877
                    <div id="collapseOne17" class="panel-collapse collapse">
2878 2879 2880
                        <div class="panel-body">

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

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
2890
                                <div class="tab-pane active" id="info17">
2891
                                    <div class="well">
2892
                                        其他推荐商品列表                                    </div>
2893 2894 2895
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913
                                                                                        <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>
2914 2915 2916 2917 2918
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
2937 2938 2939 2940 2941 2942 2943 2944 2945
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
2946
                                <div class="tab-pane" id="sandbox17">
2947 2948 2949
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960
                                                <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">
2961 2962
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
2963
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/goods/otherRecommendGoodsList" method="GET" name="form17" id="form17">
2964
                                                                                                                <div class="form-group">
2965 2966
                                                            <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">
2967 2968
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
2969 2970
                                                            <button type="submit" class="btn btn-success send" rel="17">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="17">重置</button>
2971 2972 2973 2974 2975 2976 2977 2978 2979
                                                        </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">
jinglong authored
2980 2981
                                                            <pre id="response_headers17"></pre>
                                                            <pre id="response17"></pre>
2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995
                                                        </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 -->
jinglong authored
2996
                                <div class="tab-pane" id="sample17">
2997 2998
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
2999
                                            <pre id="sample_response17">{
3000 3001
        "code": 1,
        "msg": "成功",
3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045
        "time": "1574941706",
        "data": [
            {
                "id": 7,//商品id
                "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                "name": "MONENT 动感系列",//商品名称
                "tag": [//商品标签
                    "日式简约",
                    "隐秘乡奢",
                    "家庭情侣"
                ],
                "style": [//商品规格
                    "主餐匙,茶匙各1件",
                    "古堡灰"
                ],
                "sale_price": 2299//销售价格
                "expense_price": //运费(0:显示包运费标签)
                "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
            },
            {
                "id": 4,
                "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                "name": "MONENT 动感系列",
                "tag": [
                    "AB级",
                    "ABX级",
                    "ABN级"
                ],
                "new_price": 2499,
                "sale_price": 2599
            },
        ],
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>首页接口</h2>
                <hr>
                                <div class="panel panel-default">
jinglong authored
3046
                    <div class="panel-heading" id="heading-18">
3047 3048
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3049
                            <a data-toggle="collapse" data-parent="#accordion18" href="#collapseOne18"> 首页 <span class="text-muted">/api/index/index</span></a>
3050 3051
                        </h4>
                    </div>
jinglong authored
3052
                    <div id="collapseOne18" class="panel-collapse collapse">
3053 3054 3055
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3056 3057 3058 3059 3060
                            <ul class="nav nav-tabs" id="doctab18">
                                <li class="active"><a href="#info18" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox18" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample18" data-toggle="tab">返回示例</a></li>
                            </ul>
3061 3062 3063 3064

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3065
                                <div class="tab-pane active" id="info18">
3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086
                                    <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 -->
jinglong authored
3087
                                <div class="tab-pane" id="sandbox18">
3088 3089 3090 3091 3092
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3093
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/index" method="GET" name="form18" id="form18">
3094 3095 3096 3097
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3098 3099
                                                            <button type="submit" class="btn btn-success send" rel="18">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="18">重置</button>
3100 3101 3102 3103 3104 3105 3106 3107 3108
                                                        </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">
jinglong authored
3109 3110
                                                            <pre id="response_headers18"></pre>
                                                            <pre id="response18"></pre>
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124
                                                        </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 -->
jinglong authored
3125
                                <div class="tab-pane" id="sample18">
3126 3127
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3128
                                            <pre id="sample_response18">{
3129 3130
        "code": 1,
        "msg": "成功",
3131 3132 3133 3134 3135 3136
        "time": "1574935164",
        "data": {
            "res_banner": [//轮播图
                {
                    "id": 1,//轮播图id
                    "image": ""//图片路径
3137
                    "url": ""//跳转链接
3138 3139 3140 3141 3142 3143 3144 3145 3146
                },
                {
                    "id": 2,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/79e122b17786dbf0365a1018e27872d7.png"
                },
            ],
            "res_advert": {//活动广告位(没有则不显示)
                "id": 1,//id
                "image": "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png"//图片路径
3147
                "url": ""//跳转链接
3148 3149 3150 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 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203
            },
            "res_design": [//设计师作品
                {
                    "id": 7,//商品id
                    "name": "MONENT 动感系列",//商品名称
                    "introduce": "轻波款,为客厅缀上霞光淡雾",//商品简介
                    "sale_price": 2299,//商品价格
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/2"//图片路径
                },
                {
                    "id": 1,
                    "name": "MONENT 动感系列",
                    "introduce": "轻波款,为客厅缀上霞光淡雾",
                    "sale_price": 2599,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/05d216e117e11bd3de352c155b42eaaa.mp4?vframe/jpg/offset/2"
                },
            ],
            "res_u_list": [//用户晒单
                {
                    "id": 2,//晒单id
                    "images": [//图片路径(取第一个即可)
                        "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
                        "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
                    ],
                    "title": "超越百年历史的葡萄牙餐具",//晒单标题
                    "nickname": "桃花岛岛主",//用户昵称
                    "address": "上海"//用户归属地
                }
            ],
            "res_b_type": [//大牌专区
                {
                    "id": 1,//品牌id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/d36d8475bc3bdb999dff26d019c608ed.png",//图片路径
                    "name": "HEDRMAR1",//品牌名称
                    "address": "葡萄牙1",//品牌归属地
                    "introduce": "超百年历史的葡萄牙餐具"//品牌简介
                },
                {
                    "id": 2,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191127/c53f07984e6d64d00e9bf1c9fb6ebf72.png",
                    "name": "HEDRMAR2",
                    "address": "葡萄牙2",
                    "introduce": "超百年历史的葡萄牙餐具"
                },
            ]
        }
        }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
3204
                    <div class="panel-heading" id="heading-19">
3205 3206
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3207
                            <a data-toggle="collapse" data-parent="#accordion19" href="#collapseOne19"> 弹窗广告位 <span class="text-muted">/api/index/popupAdvert</span></a>
3208 3209
                        </h4>
                    </div>
jinglong authored
3210
                    <div id="collapseOne19" class="panel-collapse collapse">
3211 3212 3213
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3214 3215 3216 3217
                            <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>
3218 3219 3220 3221 3222
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3223
                                <div class="tab-pane active" id="info19">
3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244
                                    <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 -->
jinglong authored
3245
                                <div class="tab-pane" id="sandbox19">
3246 3247 3248 3249 3250
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3251
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/popupAdvert" method="GET" name="form19" id="form19">
3252 3253 3254 3255
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3256 3257
                                                            <button type="submit" class="btn btn-success send" rel="19">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="19">重置</button>
3258 3259 3260 3261 3262 3263 3264 3265 3266
                                                        </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">
jinglong authored
3267 3268
                                                            <pre id="response_headers19"></pre>
                                                            <pre id="response19"></pre>
3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282
                                                        </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 -->
jinglong authored
3283
                                <div class="tab-pane" id="sample19">
3284 3285
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3286
                                            <pre id="sample_response19">{
3287 3288 3289 3290 3291 3292
        "code": 1,
        "msg": "成功",
        "time": "1574989615",
        "data": {//没有则不显示
            "id": 2,//弹窗广告位id
            "image": "http://jinglong.springchunjia.cn/uploads/20191127/0b20812d4f80307dd1025db71d690395.png"//图片路径
3293
            "url": ""//跳转链接
3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
3305
                    <div class="panel-heading" id="heading-20">
3306 3307
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3308
                            <a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 推荐商品列表 <span class="text-muted">/api/index/recommendGoodsList</span></a>
3309 3310
                        </h4>
                    </div>
jinglong authored
3311
                    <div id="collapseOne20" class="panel-collapse collapse">
3312 3313 3314
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3315 3316 3317 3318
                            <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>
3319 3320 3321 3322 3323
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3324
                                <div class="tab-pane active" id="info20">
3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362
                                    <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>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分页页码</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
3363
                                <div class="tab-pane" id="sandbox20">
3364 3365 3366 3367 3368
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3369
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/recommendGoodsList" method="GET" name="form20" id="form20">
3370 3371 3372 3373 3374
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3375 3376
                                                            <button type="submit" class="btn btn-success send" rel="20">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="20">重置</button>
3377 3378 3379 3380 3381 3382 3383 3384 3385
                                                        </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">
jinglong authored
3386 3387
                                                            <pre id="response_headers20"></pre>
                                                            <pre id="response20"></pre>
3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401
                                                        </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 -->
jinglong authored
3402
                                <div class="tab-pane" id="sample20">
3403 3404
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3405
                                            <pre id="sample_response20">{
3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称(含有标记红色标签)
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
3452
                    <div class="panel-heading" id="heading-21">
3453 3454
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3455
                            <a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 晒单详情 <span class="text-muted">/api/index/uListDetail</span></a>
3456 3457
                        </h4>
                    </div>
jinglong authored
3458
                    <div id="collapseOne21" class="panel-collapse collapse">
3459 3460 3461
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3462 3463 3464 3465
                            <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>
3466 3467 3468 3469 3470
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3471
                                <div class="tab-pane active" id="info21">
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
                                    <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>u_list_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>晒单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
3510
                                <div class="tab-pane" id="sandbox21">
3511 3512 3513 3514 3515
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3516
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/uListDetail" method="GET" name="form21" id="form21">
3517 3518 3519 3520 3521
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="u_list_id">u_list_id</label>
                                                            <input type="inter" class="form-control input-sm" id="u_list_id" required placeholder="晒单id" name="u_list_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3522 3523
                                                            <button type="submit" class="btn btn-success send" rel="21">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="21">重置</button>
3524 3525 3526 3527 3528 3529 3530 3531 3532
                                                        </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">
jinglong authored
3533 3534
                                                            <pre id="response_headers21"></pre>
                                                            <pre id="response21"></pre>
3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548
                                                        </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 -->
jinglong authored
3549
                                <div class="tab-pane" id="sample21">
3550 3551
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3552
                                            <pre id="sample_response21">{
3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572
        "code": 1,
        "msg": "成功",
        "time": "1575010422",
        "data": {
            "id": 2,//晒单id
            "g_id": 6,//商品id
            "images": [//图片路径(取第一个即可)
                "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
                "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
            ],
            "title": "超越百年历史的葡萄牙餐具",//晒单标题
            "nickname": "桃花岛岛主",//用户昵称
            "address": "上海"//用户归属地
            "image": "http://jinglong.springchunjia.cn/uploads/20191128/0869f5de4808a04e7a3bceccff0c1132.png",//头像路径
            "detail": ,//详情(富文本)
            "goods": {//商品
                "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片
                "name": "MONENT 动感系列",//商品名称
                "introduce": "轻波款,为客厅缀上霞光淡雾"//商品简介
            }
jinglong authored
3573 3574
        }
    }</pre>
jinglong authored
3575 3576 3577 3578 3579 3580 3581 3582
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
3583 3584
                                <h2>新人特惠接口</h2>
                <hr>
jinglong authored
3585
                                <div class="panel panel-default">
jinglong authored
3586
                    <div class="panel-heading" id="heading-22">
jinglong authored
3587
                        <h4 class="panel-title">
3588
                            <span class="label label-primary">POST</span>
jinglong authored
3589
                            <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 领取优惠券 <span class="text-muted">/api/news/receiveAllCoupon</span></a>
jinglong authored
3590 3591
                        </h4>
                    </div>
jinglong authored
3592
                    <div id="collapseOne22" class="panel-collapse collapse">
jinglong authored
3593 3594 3595
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3596 3597 3598 3599
                            <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>
jinglong authored
3600 3601 3602 3603 3604
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3605
                                <div class="tab-pane active" id="info22">
jinglong authored
3606
                                    <div class="well">
3607
                                        领取优惠券                                    </div>
jinglong authored
3608 3609 3610
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628
                                                                                        <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>
jinglong authored
3629 3630 3631 3632 3633
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
jinglong authored
3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
3645 3646
                                                        <td>coupon_id</td>
                                                        <td>string</td>
jinglong authored
3647
                                                        <td></td>
3648
                                                        <td>优惠券id(多个以逗号隔开)</td>
jinglong authored
3649 3650 3651
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
3652 3653 3654 3655 3656 3657 3658 3659 3660
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
3661
                                <div class="tab-pane" id="sandbox22">
jinglong authored
3662 3663 3664
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675
                                                <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">
jinglong authored
3676 3677
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3678
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/news/receiveAllCoupon" method="POST" name="form22" id="form22">
jinglong authored
3679
                                                                                                                <div class="form-group">
3680 3681
                                                            <label class="control-label" for="coupon_id">coupon_id</label>
                                                            <input type="string" class="form-control input-sm" id="coupon_id" required placeholder="优惠券id(多个以逗号隔开)" name="coupon_id">
jinglong authored
3682 3683
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3684 3685
                                                            <button type="submit" class="btn btn-success send" rel="22">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="22">重置</button>
jinglong authored
3686 3687 3688 3689 3690 3691 3692 3693 3694
                                                        </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">
jinglong authored
3695 3696
                                                            <pre id="response_headers22"></pre>
                                                            <pre id="response22"></pre>
jinglong authored
3697 3698 3699 3700 3701 3702 3703
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">
3704
jinglong authored
3705 3706 3707 3708 3709 3710
                                                                                                    </div>
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- #sandbox -->
jinglong authored
3711
                                <div class="tab-pane" id="sample22">
jinglong authored
3712 3713
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3714
                                            <pre id="sample_response22">{
3715 3716
        "code": 1,
        "msg": "成功",
3717 3718
        "time": "1575358991",
        "data": null
jinglong authored
3719 3720 3721 3722 3723 3724 3725 3726 3727 3728
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
3729
                    <div class="panel-heading" id="heading-23">
jinglong authored
3730 3731
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3732
                            <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 新人专享礼包 <span class="text-muted">/api/news/newsCouponList</span></a>
jinglong authored
3733 3734
                        </h4>
                    </div>
jinglong authored
3735
                    <div id="collapseOne23" class="panel-collapse collapse">
jinglong authored
3736 3737 3738
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3739 3740 3741 3742
                            <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>
jinglong authored
3743 3744 3745 3746 3747
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3748
                                <div class="tab-pane active" id="info23">
jinglong authored
3749
                                    <div class="well">
3750
                                        新人专享礼包                                    </div>
jinglong authored
3751 3752 3753 3754 3755 3756 3757 3758 3759
                                    <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">
3760
jinglong authored
3761 3762 3763 3764 3765 3766 3767 3768 3769
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
3770
                                <div class="tab-pane" id="sandbox23">
jinglong authored
3771 3772 3773 3774 3775
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3776
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/news/newsCouponList" method="GET" name="form23" id="form23">
jinglong authored
3777
                                                                                                                <div class="form-group">
3778
jinglong authored
3779 3780
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3781 3782
                                                            <button type="submit" class="btn btn-success send" rel="23">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="23">重置</button>
jinglong authored
3783 3784 3785 3786 3787 3788 3789 3790 3791
                                                        </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">
jinglong authored
3792 3793
                                                            <pre id="response_headers23"></pre>
                                                            <pre id="response23"></pre>
jinglong authored
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807
                                                        </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 -->
jinglong authored
3808
                                <div class="tab-pane" id="sample23">
jinglong authored
3809 3810
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3811
                                            <pre id="sample_response23">{
jinglong authored
3812 3813
        "code": 1,
        "msg": "成功",
3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830
        "time": "1575352892",
        "data":[
            {
                "id": 4,//优惠券id
                "is_receive": 0,//是否领取(0:否,1:是)
                "coupon_tag": "无门槛",//优惠券(无门槛或满减金额)
                "coupon_price": "8.5折"//(折扣或减少金额)
            },
            {
                "id": 2,
                "coupon_tag": "无门槛",
                "coupon_price": "¥300"
            },
            {
                "id": 1,
                "coupon_tag": "满1000可用",
                "coupon_price": "¥200"
jinglong authored
3831
            }
3832
        ]
jinglong authored
3833
    }</pre>
jinglong authored
3834 3835 3836 3837 3838 3839 3840 3841
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
3842
                                <div class="panel panel-default">
jinglong authored
3843
                    <div class="panel-heading" id="heading-24">
3844 3845
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3846
                            <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 新人特惠商品列表 <span class="text-muted">/api/news/newsGoodsList</span></a>
3847 3848
                        </h4>
                    </div>
jinglong authored
3849
                    <div id="collapseOne24" class="panel-collapse collapse">
3850 3851 3852
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
3853 3854 3855 3856
                            <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>
3857 3858 3859 3860 3861
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3862
                                <div class="tab-pane active" id="info24">
3863 3864 3865 3866 3867
                                    <div class="well">
                                        新人特惠商品列表                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
3868
3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900
                                                                                    </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>分页页码</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 -->
jinglong authored
3901
                                <div class="tab-pane" id="sandbox24">
3902 3903 3904 3905 3906
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
3907
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/news/newsGoodsList" method="GET" name="form24" id="form24">
3908 3909 3910 3911 3912
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3913 3914
                                                            <button type="submit" class="btn btn-success send" rel="24">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="24">重置</button>
3915 3916 3917 3918 3919 3920 3921 3922 3923
                                                        </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">
jinglong authored
3924 3925
                                                            <pre id="response_headers24"></pre>
                                                            <pre id="response24"></pre>
3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939
                                                        </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 -->
jinglong authored
3940
                                <div class="tab-pane" id="sample24">
3941 3942
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3943
                                            <pre id="sample_response24">{
3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
jinglong authored
3958 3959 3960 3961
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
3962 3963
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
3964
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
3965 3966
                },
                {
jinglong authored
3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>订单接口</h2>
                <hr>
                                <div class="panel panel-default">
jinglong authored
3993
                    <div class="panel-heading" id="heading-25">
jinglong authored
3994 3995
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
3996
                            <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 我的订单状态数量 <span class="text-muted">/api/orders/myOrderTotal</span></a>
jinglong authored
3997 3998
                        </h4>
                    </div>
jinglong authored
3999
                    <div id="collapseOne25" class="panel-collapse collapse">
jinglong authored
4000 4001 4002
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4003 4004 4005 4006
                            <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>
jinglong authored
4007 4008 4009 4010 4011
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4012
                                <div class="tab-pane active" id="info25">
jinglong authored
4013
                                    <div class="well">
jinglong authored
4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144
                                        我的订单状态数量                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->

                                <div class="tab-pane" id="sandbox25">
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>Headers</strong></div>
                                                <div class="panel-body">
                                                    <div class="headers">
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
                                                        </div>
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/myOrderTotal" method="GET" name="form25" id="form25">
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
                                                            <button type="submit" class="btn btn-success send" rel="25">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="25">重置</button>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>响应输出</strong></div>
                                                <div class="panel-body">
                                                    <div class="row">
                                                        <div class="col-md-12" style="overflow-x:auto">
                                                            <pre id="response_headers25"></pre>
                                                            <pre id="response25"></pre>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="panel panel-default">
                                                <div class="panel-heading"><strong>返回参数</strong></div>
                                                <div class="panel-body">

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

                                <div class="tab-pane" id="sample25">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <pre id="sample_response25">{
        "code": 1,
        "msg": "成功",
        "time": "1575700114",
        "data": {
            "total": 1,//待付款
            "total1": 0,//待发货
            "total2": 0,//待收货
            "total3": 1,//已完成
            "total4": 1//退换货
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
                    <div class="panel-heading" id="heading-26">
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
                            <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 我的订单 <span class="text-muted">/api/orders/myOrderList</span></a>
                        </h4>
                    </div>
                    <div id="collapseOne26" class="panel-collapse collapse">
                        <div class="panel-body">

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

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

                                <div class="tab-pane active" id="info26">
                                    <div class="well">
jinglong authored
4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185
                                        我的订单                                    </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>status</td>
                                                        <td>inter</td>
                                                        <td></td>
4186
                                                        <td>订单状态(-1:全部,0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)</td>
jinglong authored
4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204
                                                    </tr>
                                                                                                        <tr>
                                                        <td>page</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分页页码</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
4205
                                <div class="tab-pane" id="sandbox26">
jinglong authored
4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221
                                    <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">
jinglong authored
4222
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/myOrderList" method="GET" name="form26" id="form26">
jinglong authored
4223 4224
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="status">status</label>
4225
                                                            <input type="inter" class="form-control input-sm" id="status" required placeholder="订单状态(-1:全部,0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)" name="status">
jinglong authored
4226 4227 4228 4229 4230 4231
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
4232 4233
                                                            <button type="submit" class="btn btn-success send" rel="26">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="26">重置</button>
jinglong authored
4234 4235 4236 4237 4238 4239 4240 4241 4242
                                                        </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">
jinglong authored
4243 4244
                                                            <pre id="response_headers26"></pre>
                                                            <pre id="response26"></pre>
jinglong authored
4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258
                                                        </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 -->
jinglong authored
4259
                                <div class="tab-pane" id="sample26">
jinglong authored
4260 4261
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4262
                                            <pre id="sample_response26">{
jinglong authored
4263 4264 4265 4266 4267 4268 4269 4270 4271
        "code": 1,
        "msg": "成功",
        "time": "1575443560",
        "data": {
            "data": [
                {
                    "id": 2,//订单id
                    "order_sn": 1000002,//订单号
                    "total_price": 390,//支付金额
4272 4273
                    "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
                    "return_refund_flag": 0,//(2:退货,3:换货 )
jinglong authored
4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308
                    "goods_list": [
                        {
                            "id": 3,//附加表id
                            "o_id": 2,//订单id
                            "g_id": 1,//商品id
                            "style": "款式1",//商品款式
                            "goods_number": 1,//商品数量
                            "price": 200,//商品价格
                            "name": "MONENT 动感系列动感系列动感系列1",//商品名称
                            "introduce": "轻波款,为客厅缀上霞光淡雾"//商品简介
                        },
                        {
                            "id": 4,
                            "o_id": 2,
                            "g_id": 2,
                            "style": "款式2",
                            "goods_number": 1,
                            "price": 200,
                            "name": "MONENT 动感系列动感系列2",
                            "introduce": "轻波款,为客厅缀上霞光淡雾"
                        }
                    ]
                },
                {
                    "id": 1,
                    "order_sn": 1000001,
                    "total_price": 200,
                    "goods_list": [
                        {
                            "id": 1,
                            "o_id": 1,
                            "g_id": 1,
                            "style": "款式1",
                            "goods_number": 2,
                            "price": 100,
4309
                            "image": "商品图片路径",
jinglong authored
4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337
                            "name": "MONENT 动感系列动感系列动感系列1",
                            "introduce": "轻波款,为客厅缀上霞光淡雾"
                        },
                        {
                            "id": 2,
                            "o_id": 1,
                            "g_id": 2,
                            "style": "款式2",
                            "goods_number": 3,
                            "price": 200,
                            "name": "MONENT 动感系列动感系列2",
                            "introduce": "轻波款,为客厅缀上霞光淡雾"
                        }
                    ]
                }
            ],
           "total_page": 1//总页码
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
4338
                    <div class="panel-heading" id="heading-27">
jinglong authored
4339 4340
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
4341
                            <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 订单详情 <span class="text-muted">/api/orders/myOrderDetail</span></a>
jinglong authored
4342 4343
                        </h4>
                    </div>
jinglong authored
4344
                    <div id="collapseOne27" class="panel-collapse collapse">
jinglong authored
4345 4346 4347
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4348 4349 4350 4351
                            <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>
jinglong authored
4352 4353 4354 4355 4356
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4357
                                <div class="tab-pane active" id="info27">
jinglong authored
4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 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
                                    <div class="well">
                                        订单详情                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
4413
                                <div class="tab-pane" id="sandbox27">
jinglong authored
4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429
                                    <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">
jinglong authored
4430
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/myOrderDetail" method="GET" name="form27" id="form27">
jinglong authored
4431 4432 4433 4434 4435
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
4436 4437
                                                            <button type="submit" class="btn btn-success send" rel="27">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="27">重置</button>
jinglong authored
4438 4439 4440 4441 4442 4443 4444 4445 4446
                                                        </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">
jinglong authored
4447 4448
                                                            <pre id="response_headers27"></pre>
                                                            <pre id="response27"></pre>
jinglong authored
4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462
                                                        </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 -->
jinglong authored
4463
                                <div class="tab-pane" id="sample27">
jinglong authored
4464 4465
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4466
                                            <pre id="sample_response27">{
jinglong authored
4467 4468 4469 4470 4471 4472
        "code": 1,
        "msg": "成功",
        "time": "1575444520",
        "data": {
            "id": 1,//订单id
            "uid": 2,
4473 4474
            "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
            "return_refund_flag": 0,//(2:退货,3:换货 )
jinglong authored
4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494
            "order_sn": 1000001,//订单号
            "receive_name": "景龙",//收货人
            "receive_mobile": "13752011725",//收货电话
            "receive_address": "天津市南开区",//收货地址
            "leave_message": "",//留言
            "discount_price": 0,//优惠价格
            "total_goods_price": 200,//商品总价格
            "total_expense_price": 0,//运费
            "total_price": 200,//支付总金额
            "coupon_id": 0,//(0:未选择优惠券)
            "coupon_price": "9.5折"//为空则未选择优惠券
            "createtime": "2019-12-04 14:06:52",//下单时间
            "goods_list": [
                {
                    "id": 3,//附加表id
                    "o_id": 2,//订单id
                    "g_id": 1,//商品id
                    "style": "款式1",//商品款式
                    "goods_number": 1,//商品数量
                    "price": 200,//商品价格
4495
                    "image": "",//商品图片路径
jinglong authored
4496 4497
                    "name": "MONENT 动感系列动感系列动感系列1",//商品名称
                    "introduce": "轻波款,为客厅缀上霞光淡雾"//商品简介
4498
                },
jinglong authored
4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509
                {
                    "id": 2,
                    "o_id": 1,
                    "g_id": 2,
                    "style": "款式2",
                    "goods_number": 3,
                    "price": 200,
                    "name": "MONENT 动感系列动感系列2",
                    "introduce": "轻波款,为客厅缀上霞光淡雾"
                }
            ]
4510 4511 4512 4513 4514 4515 4516 4517 4518 4519
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
4520
                                <div class="panel panel-default">
jinglong authored
4521
                    <div class="panel-heading" id="heading-28">
jinglong authored
4522
                        <h4 class="panel-title">
jinglong authored
4523
                            <span class="label label-success">GET</span>
jinglong authored
4524
                            <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 退款,退换货原因 <span class="text-muted">/api/orders/returnReason</span></a>
jinglong authored
4525 4526
                        </h4>
                    </div>
jinglong authored
4527
                    <div id="collapseOne28" class="panel-collapse collapse">
jinglong authored
4528 4529 4530
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4531 4532 4533 4534
                            <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>
jinglong authored
4535 4536 4537 4538 4539
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4540
                                <div class="tab-pane active" id="info28">
jinglong authored
4541
                                    <div class="well">
4542
                                        退款,退换货原因                                    </div>
jinglong authored
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
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
4596
                                <div class="tab-pane" id="sandbox28">
jinglong authored
4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612
                                    <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">
jinglong authored
4613
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/returnReason" method="GET" name="form28" id="form28">
jinglong authored
4614 4615 4616 4617 4618
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
4619 4620
                                                            <button type="submit" class="btn btn-success send" rel="28">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="28">重置</button>
jinglong authored
4621 4622 4623 4624 4625 4626 4627 4628 4629
                                                        </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">
jinglong authored
4630 4631
                                                            <pre id="response_headers28"></pre>
                                                            <pre id="response28"></pre>
jinglong authored
4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645
                                                        </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 -->
jinglong authored
4646
                                <div class="tab-pane" id="sample28">
jinglong authored
4647 4648
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4649
                                            <pre id="sample_response28">{
jinglong authored
4650 4651
        "code": 1,
        "msg": "成功",
4652 4653 4654
        "time": "1575511885",
        "data": {
            "id": 2,
4655 4656
            "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
            "return_refund_flag": 0,//(2:退货,3:换货 )
4657 4658 4659
            "refund_reason": "",//退款原因
            "return_reason": ""//退换货原因
        }
jinglong authored
4660 4661 4662 4663 4664 4665 4666 4667 4668 4669
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
4670
                    <div class="panel-heading" id="heading-29">
jinglong authored
4671
                        <h4 class="panel-title">
4672
                            <span class="label label-success">GET</span>
jinglong authored
4673
                            <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 取消订单 <span class="text-muted">/api/orders/cancelOrder</span></a>
jinglong authored
4674 4675
                        </h4>
                    </div>
jinglong authored
4676
                    <div id="collapseOne29" class="panel-collapse collapse">
jinglong authored
4677 4678 4679
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4680 4681 4682 4683
                            <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>
jinglong authored
4684 4685 4686 4687 4688
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4689
                                <div class="tab-pane active" id="info29">
jinglong authored
4690
                                    <div class="well">
4691
                                        取消订单                                    </div>
4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
4745
                                <div class="tab-pane" id="sandbox29">
4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761
                                    <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">
jinglong authored
4762
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelOrder" method="GET" name="form29" id="form29">
4763 4764 4765 4766 4767
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
4768 4769
                                                            <button type="submit" class="btn btn-success send" rel="29">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="29">重置</button>
4770 4771 4772 4773 4774 4775 4776 4777 4778
                                                        </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">
jinglong authored
4779 4780
                                                            <pre id="response_headers29"></pre>
                                                            <pre id="response29"></pre>
4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794
                                                        </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 -->
jinglong authored
4795
                                <div class="tab-pane" id="sample29">
4796 4797
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4798
                                            <pre id="sample_response29">{
4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
4813
                    <div class="panel-heading" id="heading-30">
4814
                        <h4 class="panel-title">
jinglong authored
4815
                            <span class="label label-success">GET</span>
jinglong authored
4816
                            <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 申请退款 <span class="text-muted">/api/orders/applyRefund</span></a>
4817 4818
                        </h4>
                    </div>
jinglong authored
4819
                    <div id="collapseOne30" class="panel-collapse collapse">
4820 4821 4822
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4823 4824 4825 4826
                            <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>
4827 4828 4829 4830 4831
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4832
                                <div class="tab-pane active" id="info30">
4833
                                    <div class="well">
4834
                                        申请退款                                    </div>
4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
4877 4878 4879 4880 4881 4882
                                                                                                        <tr>
                                                        <td>refund_reason</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>退款原因</td>
                                                    </tr>
4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
4894
                                <div class="tab-pane" id="sandbox30">
4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910
                                    <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">
jinglong authored
4911
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyRefund" method="GET" name="form30" id="form30">
4912 4913 4914 4915 4916
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
4917 4918 4919 4920
                                                            <label class="control-label" for="refund_reason">refund_reason</label>
                                                            <input type="string" class="form-control input-sm" id="refund_reason" required placeholder="退款原因" name="refund_reason">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
4921 4922
                                                            <button type="submit" class="btn btn-success send" rel="30">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="30">重置</button>
4923 4924 4925 4926 4927 4928 4929 4930 4931
                                                        </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">
jinglong authored
4932 4933
                                                            <pre id="response_headers30"></pre>
                                                            <pre id="response30"></pre>
4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947
                                                        </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 -->
jinglong authored
4948
                                <div class="tab-pane" id="sample30">
4949 4950
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4951
                                            <pre id="sample_response30">{
4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
4966
                    <div class="panel-heading" id="heading-31">
4967 4968
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
4969
                            <a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 退款撤销 <span class="text-muted">/api/orders/cancelApplyRefund</span></a>
4970 4971
                        </h4>
                    </div>
jinglong authored
4972
                    <div id="collapseOne31" class="panel-collapse collapse">
4973 4974 4975
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4976 4977 4978 4979
                            <ul class="nav nav-tabs" id="doctab31">
                                <li class="active"><a href="#info31" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox31" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample31" data-toggle="tab">返回示例</a></li>
4980 4981 4982 4983 4984
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4985
                                <div class="tab-pane active" id="info31">
4986
                                    <div class="well">
4987
                                        退款撤销                                    </div>
jinglong authored
4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024
                                    <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>
jinglong authored
5025 5026
                                                        <td>order_id</td>
                                                        <td>inter</td>
jinglong authored
5027
                                                        <td></td>
jinglong authored
5028
                                                        <td>订单id</td>
jinglong authored
5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040
                                                    </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 -->
jinglong authored
5041
                                <div class="tab-pane" id="sandbox31">
jinglong authored
5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057
                                    <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">
jinglong authored
5058
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelApplyRefund" method="GET" name="form31" id="form31">
jinglong authored
5059
                                                                                                                <div class="form-group">
jinglong authored
5060 5061
                                                            <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">
jinglong authored
5062 5063
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5064 5065
                                                            <button type="submit" class="btn btn-success send" rel="31">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="31">重置</button>
jinglong authored
5066 5067 5068 5069 5070 5071 5072 5073 5074
                                                        </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">
jinglong authored
5075 5076
                                                            <pre id="response_headers31"></pre>
                                                            <pre id="response31"></pre>
jinglong authored
5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090
                                                        </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 -->
jinglong authored
5091
                                <div class="tab-pane" id="sample31">
jinglong authored
5092 5093
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5094
                                            <pre id="sample_response31">{
5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
5109
                    <div class="panel-heading" id="heading-32">
5110 5111
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
5112
                            <a data-toggle="collapse" data-parent="#accordion32" href="#collapseOne32"> 申请退换货 <span class="text-muted">/api/orders/applyReturnGoods</span></a>
5113 5114
                        </h4>
                    </div>
jinglong authored
5115
                    <div id="collapseOne32" class="panel-collapse collapse">
5116 5117 5118
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5119 5120 5121 5122
                            <ul class="nav nav-tabs" id="doctab32">
                                <li class="active"><a href="#info32" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox32" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample32" data-toggle="tab">返回示例</a></li>
5123 5124 5125 5126 5127
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5128
                                <div class="tab-pane active" id="info32">
5129
                                    <div class="well">
5130
                                        申请退换货                                    </div>
5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184
                                                                                                        <tr>
                                                        <td>return_flag</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>退换货标识(0:退货,1:换货)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>return_reason</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>退换货原因</td>
                                                    </tr>
5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
5196
                                <div class="tab-pane" id="sandbox32">
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212
                                    <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">
jinglong authored
5213
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyReturnGoods" method="GET" name="form32" id="form32">
5214 5215 5216 5217 5218
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
5219 5220 5221 5222 5223 5224 5225 5226
                                                            <label class="control-label" for="return_flag">return_flag</label>
                                                            <input type="inter" class="form-control input-sm" id="return_flag" required placeholder="退换货标识(0:退货,1:换货)" name="return_flag">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="return_reason">return_reason</label>
                                                            <input type="string" class="form-control input-sm" id="return_reason" required placeholder="退换货原因" name="return_reason">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5227 5228
                                                            <button type="submit" class="btn btn-success send" rel="32">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="32">重置</button>
5229 5230 5231 5232 5233 5234 5235 5236 5237
                                                        </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">
jinglong authored
5238 5239
                                                            <pre id="response_headers32"></pre>
                                                            <pre id="response32"></pre>
5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253
                                                        </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 -->
jinglong authored
5254
                                <div class="tab-pane" id="sample32">
5255 5256
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5257
                                            <pre id="sample_response32">{
jinglong authored
5258 5259 5260 5261 5262
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
jinglong authored
5263 5264 5265 5266 5267 5268 5269 5270 5271
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
5272
                    <div class="panel-heading" id="heading-33">
jinglong authored
5273
                        <h4 class="panel-title">
5274
                            <span class="label label-success">GET</span>
jinglong authored
5275
                            <a data-toggle="collapse" data-parent="#accordion33" href="#collapseOne33"> 退换货撤销 <span class="text-muted">/api/orders/cancelApplyReturnGoods</span></a>
jinglong authored
5276 5277
                        </h4>
                    </div>
jinglong authored
5278
                    <div id="collapseOne33" class="panel-collapse collapse">
jinglong authored
5279 5280 5281
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5282 5283 5284 5285
                            <ul class="nav nav-tabs" id="doctab33">
                                <li class="active"><a href="#info33" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox33" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample33" data-toggle="tab">返回示例</a></li>
jinglong authored
5286 5287 5288 5289 5290
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5291
                                <div class="tab-pane active" id="info33">
jinglong authored
5292
                                    <div class="well">
5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335
                                        退换货撤销                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
5336 5337 5338 5339
                                                                                                        <tr>
                                                        <td>cancel_flag</td>
                                                        <td>inter</td>
                                                        <td></td>
5340
                                                        <td>记录本地缓存的该订单申请退换货时的状态状态(1:原始状态为待收货(状态为5),2:原始状态为已完成(状态为8))</td>
5341
                                                    </tr>
5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
5353
                                <div class="tab-pane" id="sandbox33">
5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369
                                    <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">
jinglong authored
5370
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelApplyReturnGoods" method="GET" name="form33" id="form33">
5371 5372 5373 5374 5375
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
5376
                                                            <label class="control-label" for="cancel_flag">cancel_flag</label>
5377
                                                            <input type="inter" class="form-control input-sm" id="cancel_flag" required placeholder="记录本地缓存的该订单申请退换货时的状态状态(1:原始状态为待收货(状态为5),2:原始状态为已完成(状态为8))" name="cancel_flag">
5378 5379
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5380 5381
                                                            <button type="submit" class="btn btn-success send" rel="33">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="33">重置</button>
5382 5383 5384 5385 5386 5387 5388 5389 5390
                                                        </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">
jinglong authored
5391 5392
                                                            <pre id="response_headers33"></pre>
                                                            <pre id="response33"></pre>
5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406
                                                        </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 -->
jinglong authored
5407
                                <div class="tab-pane" id="sample33">
5408 5409
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5410
                                            <pre id="sample_response33">{
5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
5425
                    <div class="panel-heading" id="heading-34">
5426
                        <h4 class="panel-title">
jinglong authored
5427
                            <span class="label label-success">GET</span>
jinglong authored
5428
                            <a data-toggle="collapse" data-parent="#accordion34" href="#collapseOne34"> 确认收货 <span class="text-muted">/api/orders/confirmGoods</span></a>
5429 5430
                        </h4>
                    </div>
jinglong authored
5431
                    <div id="collapseOne34" class="panel-collapse collapse">
5432 5433 5434
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5435 5436 5437 5438
                            <ul class="nav nav-tabs" id="doctab34">
                                <li class="active"><a href="#info34" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox34" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample34" data-toggle="tab">返回示例</a></li>
5439 5440 5441 5442 5443
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5444
                                <div class="tab-pane active" id="info34">
5445
                                    <div class="well">
jinglong authored
5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499
                                        确认收货                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>token</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>order_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
5500
                                <div class="tab-pane" id="sandbox34">
jinglong authored
5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516
                                    <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">
jinglong authored
5517
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/confirmGoods" method="GET" name="form34" id="form34">
jinglong authored
5518 5519 5520 5521 5522
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_id">order_id</label>
                                                            <input type="inter" class="form-control input-sm" id="order_id" required placeholder="订单id" name="order_id">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5523 5524
                                                            <button type="submit" class="btn btn-success send" rel="34">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="34">重置</button>
jinglong authored
5525 5526 5527 5528 5529 5530 5531 5532 5533
                                                        </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">
jinglong authored
5534 5535
                                                            <pre id="response_headers34"></pre>
                                                            <pre id="response34"></pre>
jinglong authored
5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549
                                                        </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 -->
jinglong authored
5550
                                <div class="tab-pane" id="sample34">
jinglong authored
5551 5552
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5553
                                            <pre id="sample_response34">{
jinglong authored
5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <h2>支付接口</h2>
                <hr>
                                <div class="panel panel-default">
jinglong authored
5570
                    <div class="panel-heading" id="heading-35">
jinglong authored
5571 5572
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
5573
                            <a data-toggle="collapse" data-parent="#accordion35" href="#collapseOne35"> 支付订单 <span class="text-muted">/api/pay/pay</span></a>
jinglong authored
5574 5575
                        </h4>
                    </div>
jinglong authored
5576
                    <div id="collapseOne35" class="panel-collapse collapse">
jinglong authored
5577 5578 5579
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5580 5581 5582 5583
                            <ul class="nav nav-tabs" id="doctab35">
                                <li class="active"><a href="#info35" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox35" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample35" data-toggle="tab">返回示例</a></li>
jinglong authored
5584 5585 5586 5587 5588
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5589
                                <div class="tab-pane active" id="info35">
jinglong authored
5590
                                    <div class="well">
jinglong authored
5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639
                                        支付订单                                    </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>openid</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>小程序openid</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>order_sn</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>订单号</td>
                                                    </tr>
jinglong authored
5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681
                                                                                                        <tr>
                                                        <td>receive_name</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>收货人</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>receive_mobile</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>联系方式</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>receive_address</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>收货地址</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>leave_message</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>留言</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>coupon_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>优惠券id</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>discount_price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>优惠金额</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>total_price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>实付总金额</td>
                                                    </tr>
jinglong authored
5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
5693
                                <div class="tab-pane" id="sandbox35">
jinglong authored
5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709
                                    <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">
jinglong authored
5710
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/pay" method="POST" name="form35" id="form35">
jinglong authored
5711 5712 5713 5714 5715 5716 5717 5718 5719
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="openid">openid</label>
                                                            <input type="string" class="form-control input-sm" id="openid" required placeholder="小程序openid" name="openid">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="order_sn">order_sn</label>
                                                            <input type="inter" class="form-control input-sm" id="order_sn" required placeholder="订单号" name="order_sn">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747
                                                            <label class="control-label" for="receive_name">receive_name</label>
                                                            <input type="string" class="form-control input-sm" id="receive_name"  placeholder="收货人" name="receive_name">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="receive_mobile">receive_mobile</label>
                                                            <input type="string" class="form-control input-sm" id="receive_mobile"  placeholder="联系方式" name="receive_mobile">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="receive_address">receive_address</label>
                                                            <input type="string" class="form-control input-sm" id="receive_address"  placeholder="收货地址" name="receive_address">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="leave_message">leave_message</label>
                                                            <input type="string" class="form-control input-sm" id="leave_message"  placeholder="留言" name="leave_message">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="coupon_id">coupon_id</label>
                                                            <input type="inter" class="form-control input-sm" id="coupon_id"  placeholder="优惠券id" name="coupon_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="discount_price">discount_price</label>
                                                            <input type="inter" class="form-control input-sm" id="discount_price"  placeholder="优惠金额" name="discount_price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="total_price">total_price</label>
                                                            <input type="inter" class="form-control input-sm" id="total_price"  placeholder="实付总金额" name="total_price">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5748 5749
                                                            <button type="submit" class="btn btn-success send" rel="35">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="35">重置</button>
jinglong authored
5750 5751 5752 5753 5754 5755 5756 5757 5758
                                                        </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">
jinglong authored
5759 5760
                                                            <pre id="response_headers35"></pre>
                                                            <pre id="response35"></pre>
jinglong authored
5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774
                                                        </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 -->
jinglong authored
5775
                                <div class="tab-pane" id="sample35">
jinglong authored
5776 5777
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5778
                                            <pre id="sample_response35"></pre>
jinglong authored
5779 5780 5781 5782 5783 5784 5785 5786 5787
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
5788
                    <div class="panel-heading" id="heading-36">
jinglong authored
5789 5790
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
5791
                            <a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 立即购买 <span class="text-muted">/api/pay/purchase</span></a>
jinglong authored
5792 5793
                        </h4>
                    </div>
jinglong authored
5794
                    <div id="collapseOne36" class="panel-collapse collapse">
jinglong authored
5795 5796 5797
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5798 5799 5800 5801
                            <ul class="nav nav-tabs" id="doctab36">
                                <li class="active"><a href="#info36" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox36" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample36" data-toggle="tab">返回示例</a></li>
jinglong authored
5802 5803 5804 5805 5806
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5807
                                <div class="tab-pane active" id="info36">
jinglong authored
5808
                                    <div class="well">
jinglong authored
5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923
                                        立即购买                                    </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>receive_name</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>收货人</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>receive_mobile</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>联系方式</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>receive_address</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>收货地址</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>openid</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>小程序openid</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>goods_id</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品id(多个以逗号隔开,如:1,3,4)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>price</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品价格(多个以逗号隔开,如:100,10,200)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>goods_number</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品数量(多个以逗号隔开,如:10,10,10)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>style</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>商品款式(多个以逗号隔开,如:‘款式1,款式2,款式3’)</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>leave_message</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>留言</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>coupon_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>优惠券id</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>total_goods_price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品总金额</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>discount_price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>优惠金额</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>total_expense_price</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>运费总金额</td>
                                                    </tr>
jinglong authored
5924 5925 5926 5927
                                                                                                        <tr>
                                                        <td>total_price</td>
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
5928
                                                        <td>实付总金额</td>
jinglong authored
5929
                                                    </tr>
jinglong authored
5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
5941
                                <div class="tab-pane" id="sandbox36">
jinglong authored
5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957
                                    <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">
jinglong authored
5958
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/purchase" method="POST" name="form36" id="form36">
jinglong authored
5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="receive_name">receive_name</label>
                                                            <input type="string" class="form-control input-sm" id="receive_name" required placeholder="收货人" name="receive_name">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="receive_mobile">receive_mobile</label>
                                                            <input type="string" class="form-control input-sm" id="receive_mobile" required placeholder="联系方式" name="receive_mobile">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="receive_address">receive_address</label>
                                                            <input type="string" class="form-control input-sm" id="receive_address" required placeholder="收货地址" name="receive_address">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="openid">openid</label>
                                                            <input type="string" class="form-control input-sm" id="openid" required placeholder="小程序openid" name="openid">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="string" class="form-control input-sm" id="goods_id" required placeholder="商品id(多个以逗号隔开,如:1,3,4)" name="goods_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="price">price</label>
                                                            <input type="string" class="form-control input-sm" id="price" required placeholder="商品价格(多个以逗号隔开,如:100,10,200)" name="price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="goods_number">goods_number</label>
                                                            <input type="string" class="form-control input-sm" id="goods_number" required placeholder="商品数量(多个以逗号隔开,如:10,10,10)" name="goods_number">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="style">style</label>
                                                            <input type="string" class="form-control input-sm" id="style" required placeholder="商品款式(多个以逗号隔开,如:‘款式1,款式2,款式3’)" name="style">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="leave_message">leave_message</label>
                                                            <input type="string" class="form-control input-sm" id="leave_message"  placeholder="留言" name="leave_message">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="coupon_id">coupon_id</label>
                                                            <input type="inter" class="form-control input-sm" id="coupon_id"  placeholder="优惠券id" name="coupon_id">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="total_goods_price">total_goods_price</label>
                                                            <input type="inter" class="form-control input-sm" id="total_goods_price" required placeholder="商品总金额" name="total_goods_price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="discount_price">discount_price</label>
                                                            <input type="inter" class="form-control input-sm" id="discount_price" required placeholder="优惠金额" name="discount_price">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="total_expense_price">total_expense_price</label>
                                                            <input type="inter" class="form-control input-sm" id="total_expense_price" required placeholder="运费总金额" name="total_expense_price">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6012
                                                            <label class="control-label" for="total_price">total_price</label>
jinglong authored
6013
                                                            <input type="inter" class="form-control input-sm" id="total_price" required placeholder="实付总金额" name="total_price">
jinglong authored
6014 6015
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6016 6017
                                                            <button type="submit" class="btn btn-success send" rel="36">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="36">重置</button>
jinglong authored
6018 6019 6020 6021 6022 6023 6024 6025 6026
                                                        </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">
jinglong authored
6027 6028
                                                            <pre id="response_headers36"></pre>
                                                            <pre id="response36"></pre>
jinglong authored
6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042
                                                        </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 -->
jinglong authored
6043
                                <div class="tab-pane" id="sample36">
jinglong authored
6044 6045
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6046
                                            <pre id="sample_response36"></pre>
jinglong authored
6047 6048 6049 6050 6051 6052 6053 6054
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
6055 6056
                                <h2>商品检索接口</h2>
                <hr>
jinglong authored
6057
                                <div class="panel panel-default">
jinglong authored
6058
                    <div class="panel-heading" id="heading-37">
jinglong authored
6059
                        <h4 class="panel-title">
jinglong authored
6060
                            <span class="label label-success">GET</span>
jinglong authored
6061
                            <a data-toggle="collapse" data-parent="#accordion37" href="#collapseOne37"> 商品检索列表 <span class="text-muted">/api/search/searchGoodsList</span></a>
jinglong authored
6062 6063
                        </h4>
                    </div>
jinglong authored
6064
                    <div id="collapseOne37" class="panel-collapse collapse">
jinglong authored
6065 6066 6067
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6068 6069 6070 6071
                            <ul class="nav nav-tabs" id="doctab37">
                                <li class="active"><a href="#info37" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox37" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample37" data-toggle="tab">返回示例</a></li>
jinglong authored
6072 6073 6074 6075 6076
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6077
                                <div class="tab-pane active" id="info37">
jinglong authored
6078
                                    <div class="well">
jinglong authored
6079
                                        商品检索列表                                    </div>
jinglong authored
6080 6081 6082
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
6083
jinglong authored
6084 6085 6086 6087 6088
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
6100
                                                        <td>keyword</td>
jinglong authored
6101
                                                        <td>string</td>
jinglong authored
6102
                                                        <td></td>
jinglong authored
6103
                                                        <td>检索关键字</td>
jinglong authored
6104 6105
                                                    </tr>
                                                                                                        <tr>
jinglong authored
6106
                                                        <td>page</td>
6107
                                                        <td>inter</td>
jinglong authored
6108 6109
                                                        <td></td>
                                                        <td>分页页码</td>
6110 6111 6112
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
6113 6114 6115 6116 6117 6118 6119 6120 6121
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6122
                                <div class="tab-pane" id="sandbox37">
jinglong authored
6123 6124 6125 6126 6127
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6128
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/search/searchGoodsList" method="GET" name="form37" id="form37">
jinglong authored
6129
                                                                                                                <div class="form-group">
jinglong authored
6130 6131
                                                            <label class="control-label" for="keyword">keyword</label>
                                                            <input type="string" class="form-control input-sm" id="keyword" required placeholder="检索关键字" name="keyword">
jinglong authored
6132
                                                        </div>
jinglong authored
6133
                                                                                                                <div class="form-group">
jinglong authored
6134 6135
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
jinglong authored
6136 6137
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6138 6139
                                                            <button type="submit" class="btn btn-success send" rel="37">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="37">重置</button>
jinglong authored
6140 6141 6142 6143 6144 6145 6146 6147 6148
                                                        </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">
jinglong authored
6149 6150
                                                            <pre id="response_headers37"></pre>
                                                            <pre id="response37"></pre>
jinglong authored
6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164
                                                        </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 -->
jinglong authored
6165
                                <div class="tab-pane" id="sample37">
jinglong authored
6166 6167
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6168
                                            <pre id="sample_response37">{
jinglong authored
6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
6189
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
jinglong authored
6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
jinglong authored
6207 6208 6209 6210 6211 6212 6213 6214
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
6215 6216
                                <h2>品类接口</h2>
                <hr>
jinglong authored
6217
                                <div class="panel panel-default">
jinglong authored
6218
                    <div class="panel-heading" id="heading-38">
jinglong authored
6219 6220
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
6221
                            <a data-toggle="collapse" data-parent="#accordion38" href="#collapseOne38"> 品类分类 <span class="text-muted">/api/sort/sortType</span></a>
jinglong authored
6222 6223
                        </h4>
                    </div>
jinglong authored
6224
                    <div id="collapseOne38" class="panel-collapse collapse">
jinglong authored
6225 6226 6227
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6228 6229 6230 6231
                            <ul class="nav nav-tabs" id="doctab38">
                                <li class="active"><a href="#info38" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox38" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample38" data-toggle="tab">返回示例</a></li>
jinglong authored
6232 6233 6234 6235 6236
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6237
                                <div class="tab-pane active" id="info38">
jinglong authored
6238
                                    <div class="well">
jinglong authored
6239
                                        品类分类                                    </div>
jinglong authored
6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258
                                    <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 -->
jinglong authored
6259
                                <div class="tab-pane" id="sandbox38">
jinglong authored
6260 6261 6262 6263 6264
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6265
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/sort/sortType" method="GET" name="form38" id="form38">
jinglong authored
6266 6267 6268 6269
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6270 6271
                                                            <button type="submit" class="btn btn-success send" rel="38">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="38">重置</button>
jinglong authored
6272 6273 6274 6275 6276 6277 6278 6279 6280
                                                        </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">
jinglong authored
6281 6282
                                                            <pre id="response_headers38"></pre>
                                                            <pre id="response38"></pre>
jinglong authored
6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296
                                                        </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 -->
jinglong authored
6297
                                <div class="tab-pane" id="sample38">
jinglong authored
6298 6299
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6300
                                            <pre id="sample_response38">{
jinglong authored
6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324
        "code": 1,
        "msg": "成功",
        "time": "1574939035",
        "data": [
            {
                "id": 1,//品类分类id
                "image": "http://jinglong.springchunjia.cn/uploads/20191127/6b3a06ba3404d5cd74e2483a1b7e93b2.png",//图片路径
                "images": [//轮播图路径
                    "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
                    "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
                ],
                "name": "箱包"//品类分类名称
            },
            {
                "id": 2,
                "image": "http://jinglong.springchunjia.cn/uploads/20191127/287ca016a4d41a239ec77c91d982309d.png",
                "images": [
                    "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
                    "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
                ],
                "name": "配饰"
            },
        ]
    }</pre>
jinglong authored
6325 6326 6327 6328 6329 6330 6331 6332
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
6333 6334
                                <h2>个人中心接口</h2>
                <hr>
jinglong authored
6335
                                <div class="panel panel-default">
jinglong authored
6336
                    <div class="panel-heading" id="heading-39">
jinglong authored
6337
                        <h4 class="panel-title">
jinglong authored
6338
                            <span class="label label-primary">POST</span>
jinglong authored
6339
                            <a data-toggle="collapse" data-parent="#accordion39" href="#collapseOne39"> 小程序登录 <span class="text-muted">/api/user/login</span></a>
jinglong authored
6340 6341
                        </h4>
                    </div>
jinglong authored
6342
                    <div id="collapseOne39" class="panel-collapse collapse">
jinglong authored
6343 6344 6345
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6346 6347 6348 6349
                            <ul class="nav nav-tabs" id="doctab39">
                                <li class="active"><a href="#info39" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox39" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample39" data-toggle="tab">返回示例</a></li>
jinglong authored
6350 6351 6352 6353 6354
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6355
                                <div class="tab-pane active" id="info39">
jinglong authored
6356
                                    <div class="well">
jinglong authored
6357
                                        小程序登录                                    </div>
jinglong authored
6358 6359 6360 6361 6362 6363 6364 6365 6366
                                    <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">
jinglong authored
6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>code</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>小程序code</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>nickname</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>小程序昵称</td>
                                                    </tr>
                                                                                                        <tr>
                                                        <td>avatar</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>小程序头像</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
6397 6398 6399 6400 6401 6402 6403 6404 6405
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6406
                                <div class="tab-pane" id="sandbox39">
jinglong authored
6407 6408 6409 6410 6411
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6412
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form39" id="form39">
jinglong authored
6413
                                                                                                                <div class="form-group">
jinglong authored
6414 6415
                                                            <label class="control-label" for="code">code</label>
                                                            <input type="string" class="form-control input-sm" id="code" required placeholder="小程序code" name="code">
jinglong authored
6416 6417
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6418 6419 6420 6421 6422 6423 6424 6425
                                                            <label class="control-label" for="nickname">nickname</label>
                                                            <input type="string" class="form-control input-sm" id="nickname" required placeholder="小程序昵称" name="nickname">
                                                        </div>
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="avatar">avatar</label>
                                                            <input type="string" class="form-control input-sm" id="avatar" required placeholder="小程序头像" name="avatar">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6426 6427
                                                            <button type="submit" class="btn btn-success send" rel="39">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="39">重置</button>
jinglong authored
6428 6429 6430 6431 6432 6433 6434 6435 6436
                                                        </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">
jinglong authored
6437 6438
                                                            <pre id="response_headers39"></pre>
                                                            <pre id="response39"></pre>
jinglong authored
6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452
                                                        </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 -->
jinglong authored
6453
                                <div class="tab-pane" id="sample39">
jinglong authored
6454 6455
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6456
                                            <pre id="sample_response39">{
jinglong authored
6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467
            "code": 1,
            "msg": "登录成功",
            "time": "1553839125",
            "data": {
                "token": "677afb39-1a4f-4492-84d3-0bcf32016b8a",//token
                "user_id": 27,//用户id
                "createtime": 1553839125,//登录时间
                "expiretime": 1556431125,//token失效时间
                "expires_in": 2592000//token失效剩余时间(单位s)
                "openid": 1485212522522//openid
            }</pre>
jinglong authored
6468 6469 6470 6471 6472 6473 6474 6475 6476
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
6477
                    <div class="panel-heading" id="heading-40">
jinglong authored
6478
                        <h4 class="panel-title">
jinglong authored
6479
                            <span class="label label-success">GET</span>
jinglong authored
6480
                            <a data-toggle="collapse" data-parent="#accordion40" href="#collapseOne40"> 获取个人信息(新人/旧人) <span class="text-muted">/api/user/info</span></a>
jinglong authored
6481 6482
                        </h4>
                    </div>
jinglong authored
6483
                    <div id="collapseOne40" class="panel-collapse collapse">
jinglong authored
6484 6485 6486
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6487 6488 6489 6490
                            <ul class="nav nav-tabs" id="doctab40">
                                <li class="active"><a href="#info40" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox40" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample40" data-toggle="tab">返回示例</a></li>
jinglong authored
6491 6492 6493 6494 6495
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6496
                                <div class="tab-pane active" id="info40">
jinglong authored
6497
                                    <div class="well">
jinglong authored
6498
                                        获取个人信息(新人/旧人)                                    </div>
jinglong authored
6499 6500 6501
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
6513
                                                        <td>token</td>
6514 6515
                                                        <td>string</td>
                                                        <td></td>
jinglong authored
6516 6517 6518 6519 6520 6521 6522 6523 6524
                                                        <td>请求的Token</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
jinglong authored
6525
jinglong authored
6526 6527 6528 6529 6530 6531 6532 6533 6534
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6535
                                <div class="tab-pane" id="sandbox40">
jinglong authored
6536 6537 6538
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
jinglong authored
6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549
                                                <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">
jinglong authored
6550 6551
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6552
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/info" method="GET" name="form40" id="form40">
jinglong authored
6553
                                                                                                                <div class="form-group">
jinglong authored
6554
jinglong authored
6555 6556
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6557 6558
                                                            <button type="submit" class="btn btn-success send" rel="40">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="40">重置</button>
jinglong authored
6559 6560 6561 6562 6563 6564 6565 6566 6567
                                                        </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">
jinglong authored
6568 6569
                                                            <pre id="response_headers40"></pre>
                                                            <pre id="response40"></pre>
jinglong authored
6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583
                                                        </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 -->
jinglong authored
6584
                                <div class="tab-pane" id="sample40">
jinglong authored
6585 6586
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6587
                                            <pre id="sample_response40">{
jinglong authored
6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604
        "code": 1,
        "msg": "成功",
        "time": "1575188985",
        "data": {
            "id": 2,//用户id
            "openid": "orhy25PeYJsTeN70aoTL_Hvfvz20",//openid
            "nickname": "风起时",//昵称
            "mobile": "",
            "avatar": "",//头像
            "token": "2794e6d4-14d5-4725-ba79-8b863d3ef8c6",//token
            "user_id": 2,
            "createtime": 1574927973,
            "expiretime": 1577519973,
            "expires_in": 2330988,
            "is_news": 0//是否为新人(0:是,1:否)
        }
    }</pre>
jinglong authored
6605 6606 6607 6608 6609 6610 6611 6612 6613
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
6614
                    <div class="panel-heading" id="heading-41">
jinglong authored
6615
                        <h4 class="panel-title">
jinglong authored
6616
                            <span class="label label-success">GET</span>
jinglong authored
6617
                            <a data-toggle="collapse" data-parent="#accordion41" href="#collapseOne41"> 获取二维码 <span class="text-muted">/api/user/getWxCode</span></a>
jinglong authored
6618 6619
                        </h4>
                    </div>
jinglong authored
6620
                    <div id="collapseOne41" class="panel-collapse collapse">
jinglong authored
6621 6622 6623
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6624 6625 6626 6627
                            <ul class="nav nav-tabs" id="doctab41">
                                <li class="active"><a href="#info41" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox41" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample41" data-toggle="tab">返回示例</a></li>
jinglong authored
6628 6629 6630 6631 6632
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6633
                                <div class="tab-pane active" id="info41">
jinglong authored
6634
                                    <div class="well">
jinglong authored
6635
                                        获取二维码                                    </div>
jinglong authored
6636 6637 6638
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656
                                                                                        <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>
jinglong authored
6657 6658 6659 6660 6661
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
                                                        <td>goods_id</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>商品id</td>
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
6680 6681 6682 6683 6684 6685 6686 6687 6688
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6689
                                <div class="tab-pane" id="sandbox41">
jinglong authored
6690 6691 6692
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703
                                                <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">
jinglong authored
6704 6705
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6706
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getWxCode" method="GET" name="form41" id="form41">
jinglong authored
6707
                                                                                                                <div class="form-group">
6708 6709
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
jinglong authored
6710 6711
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6712 6713
                                                            <button type="submit" class="btn btn-success send" rel="41">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="41">重置</button>
jinglong authored
6714 6715 6716 6717 6718 6719 6720 6721 6722
                                                        </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">
jinglong authored
6723 6724
                                                            <pre id="response_headers41"></pre>
                                                            <pre id="response41"></pre>
jinglong authored
6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738
                                                        </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 -->
jinglong authored
6739
                                <div class="tab-pane" id="sample41">
jinglong authored
6740 6741
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6742
                                            <pre id="sample_response41">{
jinglong authored
6743 6744 6745 6746
        "code": 1,
        "msg": "成功",
        "time": "1572602867",
        "data": {
6747
            "code_url": "http://feifangu.w.brotop.cn/wx_code_img/code_6.jpg"//二维码路径
jinglong authored
6748 6749
        }
    }</pre>
jinglong authored
6750 6751 6752 6753 6754 6755 6756 6757 6758
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
6759
                    <div class="panel-heading" id="heading-42">
jinglong authored
6760 6761
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
6762
                            <a data-toggle="collapse" data-parent="#accordion42" href="#collapseOne42"> 收藏 <span class="text-muted">/api/user/collection</span></a>
jinglong authored
6763 6764
                        </h4>
                    </div>
jinglong authored
6765
                    <div id="collapseOne42" class="panel-collapse collapse">
jinglong authored
6766 6767 6768
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6769 6770 6771 6772
                            <ul class="nav nav-tabs" id="doctab42">
                                <li class="active"><a href="#info42" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox42" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample42" data-toggle="tab">返回示例</a></li>
jinglong authored
6773 6774 6775 6776 6777
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6778
                                <div class="tab-pane active" id="info42">
jinglong authored
6779
                                    <div class="well">
jinglong authored
6780
                                        收藏                                    </div>
jinglong authored
6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817
                                    <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>
jinglong authored
6818
                                                        <td>goods_id</td>
jinglong authored
6819
                                                        <td>inter</td>
jinglong authored
6820 6821
                                                        <td></td>
                                                        <td>商品id</td>
jinglong authored
6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833
                                                    </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 -->
jinglong authored
6834
                                <div class="tab-pane" id="sandbox42">
jinglong authored
6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850
                                    <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">
jinglong authored
6851
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/collection" method="POST" name="form42" id="form42">
jinglong authored
6852
                                                                                                                <div class="form-group">
jinglong authored
6853 6854
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
jinglong authored
6855 6856
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6857 6858
                                                            <button type="submit" class="btn btn-success send" rel="42">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="42">重置</button>
jinglong authored
6859 6860 6861 6862 6863 6864 6865 6866 6867
                                                        </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">
jinglong authored
6868 6869
                                                            <pre id="response_headers42"></pre>
                                                            <pre id="response42"></pre>
jinglong authored
6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883
                                                        </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 -->
jinglong authored
6884
                                <div class="tab-pane" id="sample42">
jinglong authored
6885 6886
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6887
                                            <pre id="sample_response42">{
jinglong authored
6888 6889
        "code": 1,
        "msg": "成功",
jinglong authored
6890
        "time": "1571037179",
jinglong authored
6891 6892
        "data": null
    }</pre>
jinglong authored
6893 6894 6895 6896 6897 6898 6899 6900 6901
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
6902
                    <div class="panel-heading" id="heading-43">
jinglong authored
6903
                        <h4 class="panel-title">
jinglong authored
6904
                            <span class="label label-primary">POST</span>
jinglong authored
6905
                            <a data-toggle="collapse" data-parent="#accordion43" href="#collapseOne43"> 取消收藏 <span class="text-muted">/api/user/cancelCollection</span></a>
jinglong authored
6906 6907
                        </h4>
                    </div>
jinglong authored
6908
                    <div id="collapseOne43" class="panel-collapse collapse">
jinglong authored
6909 6910 6911
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
6912 6913 6914 6915
                            <ul class="nav nav-tabs" id="doctab43">
                                <li class="active"><a href="#info43" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox43" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample43" data-toggle="tab">返回示例</a></li>
jinglong authored
6916 6917 6918 6919 6920
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6921
                                <div class="tab-pane active" id="info43">
jinglong authored
6922
                                    <div class="well">
jinglong authored
6923
                                        取消收藏                                    </div>
jinglong authored
6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960
                                    <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>
jinglong authored
6961
                                                        <td>goods_id</td>
jinglong authored
6962 6963
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
6964
                                                        <td>商品id</td>
jinglong authored
6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976
                                                    </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 -->
jinglong authored
6977
                                <div class="tab-pane" id="sandbox43">
jinglong authored
6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993
                                    <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">
jinglong authored
6994
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/cancelCollection" method="POST" name="form43" id="form43">
jinglong authored
6995
                                                                                                                <div class="form-group">
jinglong authored
6996 6997
                                                            <label class="control-label" for="goods_id">goods_id</label>
                                                            <input type="inter" class="form-control input-sm" id="goods_id" required placeholder="商品id" name="goods_id">
jinglong authored
6998 6999
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7000 7001
                                                            <button type="submit" class="btn btn-success send" rel="43">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="43">重置</button>
jinglong authored
7002 7003 7004 7005 7006 7007 7008 7009 7010
                                                        </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">
jinglong authored
7011 7012
                                                            <pre id="response_headers43"></pre>
                                                            <pre id="response43"></pre>
jinglong authored
7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026
                                                        </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 -->
jinglong authored
7027
                                <div class="tab-pane" id="sample43">
jinglong authored
7028 7029
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7030
                                            <pre id="sample_response43">{
jinglong authored
7031 7032
        "code": 1,
        "msg": "成功",
jinglong authored
7033 7034
        "time": "1571037179",
        "data": null
jinglong authored
7035 7036 7037 7038 7039 7040 7041 7042 7043 7044
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
                                <div class="panel panel-default">
jinglong authored
7045
                    <div class="panel-heading" id="heading-44">
jinglong authored
7046 7047
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
7048
                            <a data-toggle="collapse" data-parent="#accordion44" href="#collapseOne44"> 我的收藏 <span class="text-muted">/api/user/myCollectionList</span></a>
jinglong authored
7049 7050
                        </h4>
                    </div>
jinglong authored
7051
                    <div id="collapseOne44" class="panel-collapse collapse">
jinglong authored
7052 7053 7054
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
7055 7056 7057 7058
                            <ul class="nav nav-tabs" id="doctab44">
                                <li class="active"><a href="#info44" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox44" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample44" data-toggle="tab">返回示例</a></li>
jinglong authored
7059 7060 7061 7062 7063
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
7064
                                <div class="tab-pane active" id="info44">
jinglong authored
7065
                                    <div class="well">
jinglong authored
7066
                                        我的收藏                                    </div>
jinglong authored
7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080
                                    <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>
jinglong authored
7081
                                                        <td>token</td>
jinglong authored
7082 7083
                                                        <td>string</td>
                                                        <td></td>
jinglong authored
7084
                                                        <td>请求的Token</td>
jinglong authored
7085
                                                    </tr>
jinglong authored
7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099
                                                                                                    </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>
jinglong authored
7100
                                                    </tr>
jinglong authored
7101 7102
                                                </thead>
                                                <tbody>
jinglong authored
7103
                                                                                                        <tr>
jinglong authored
7104 7105
                                                        <td>page</td>
                                                        <td>inter</td>
jinglong authored
7106
                                                        <td></td>
jinglong authored
7107
                                                        <td>分页页码</td>
jinglong authored
7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119
                                                    </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 -->
jinglong authored
7120
                                <div class="tab-pane" id="sandbox44">
jinglong authored
7121 7122 7123
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
jinglong authored
7124
                                                <div class="panel-heading"><strong>Headers</strong></div>
jinglong authored
7125
                                                <div class="panel-body">
jinglong authored
7126
                                                    <div class="headers">
jinglong authored
7127
                                                                                                                <div class="form-group">
jinglong authored
7128 7129
                                                            <label class="control-label" for="token">token</label>
                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
jinglong authored
7130
                                                        </div>
jinglong authored
7131 7132 7133 7134 7135 7136
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
7137
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCollectionList" method="GET" name="form44" id="form44">
jinglong authored
7138
                                                                                                                <div class="form-group">
jinglong authored
7139 7140
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
jinglong authored
7141 7142
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7143 7144
                                                            <button type="submit" class="btn btn-success send" rel="44">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="44">重置</button>
jinglong authored
7145 7146 7147 7148 7149 7150 7151 7152 7153
                                                        </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">
jinglong authored
7154 7155
                                                            <pre id="response_headers44"></pre>
                                                            <pre id="response44"></pre>
jinglong authored
7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169
                                                        </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 -->
jinglong authored
7170
                                <div class="tab-pane" id="sample44">
jinglong authored
7171 7172
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7173
                                            <pre id="sample_response44">{
jinglong authored
7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
7194
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
jinglong authored
7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211
                },
                {
                    "id": 4,
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/93971e55b83d1a09c1831f8197514305.png",
                    "name": "MONENT 动感系列",
                    "tag": [
                        "AB级",
                        "ABX级",
                        "ABN级"
                    ],
                    "new_price": 2499,
                    "sale_price": 2599
                },
            ],
            "total_page": 1
        }
    }</pre>
jinglong authored
7212 7213 7214 7215 7216 7217 7218 7219
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
7220
                                <div class="panel panel-default">
jinglong authored
7221
                    <div class="panel-heading" id="heading-45">
7222 7223
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
7224
                            <a data-toggle="collapse" data-parent="#accordion45" href="#collapseOne45"> 我的优惠券 <span class="text-muted">/api/user/myCouponList</span></a>
7225 7226
                        </h4>
                    </div>
jinglong authored
7227
                    <div id="collapseOne45" class="panel-collapse collapse">
7228 7229 7230
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
7231 7232 7233 7234
                            <ul class="nav nav-tabs" id="doctab45">
                                <li class="active"><a href="#info45" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox45" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample45" data-toggle="tab">返回示例</a></li>
7235 7236 7237 7238 7239
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
7240
                                <div class="tab-pane active" id="info45">
7241 7242 7243 7244 7245
                                    <div class="well">
                                        我的优惠券                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
7246 7247 7248 7249 7250 7251

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
7263 7264
                                                        <td>is_flag</td>
                                                        <td>inter</td>
7265
                                                        <td></td>
jinglong authored
7266
                                                        <td>优惠券标识(0:未使用,1:已使用,2:已过期)</td>
7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278
                                                    </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 -->
jinglong authored
7279
                                <div class="tab-pane" id="sandbox45">
7280 7281 7282 7283 7284
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
7285
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCouponList" method="GET" name="form45" id="form45">
7286
                                                                                                                <div class="form-group">
jinglong authored
7287 7288
                                                            <label class="control-label" for="is_flag">is_flag</label>
                                                            <input type="inter" class="form-control input-sm" id="is_flag" required placeholder="优惠券标识(0:未使用,1:已使用,2:已过期)" name="is_flag">
7289 7290
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7291 7292
                                                            <button type="submit" class="btn btn-success send" rel="45">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="45">重置</button>
7293 7294 7295 7296 7297 7298 7299 7300 7301
                                                        </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">
jinglong authored
7302 7303
                                                            <pre id="response_headers45"></pre>
                                                            <pre id="response45"></pre>
7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317
                                                        </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 -->
jinglong authored
7318
                                <div class="tab-pane" id="sample45">
7319 7320
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7321
                                            <pre id="sample_response45">{
7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353
        "code": 1,
        "msg": "成功",
        "time": "1575372162",
        "data": [
            {
                "id": 2,//优惠券id
                "coupon_tag": "无门槛",//优惠券(无门槛,折扣券,满减券)
                "coupon_price": "¥300",//(折扣或减少金额)
                "coupon_tag1": "无门槛",优惠券(无门槛,满多少可用)
                "coupon_name": "全场优惠券",//优惠券名称
                "end_time": "2020.1.31",//优惠券有效期
                "type": "全场通用"//优惠券用途
            },
            {
                "id": 10,
                "coupon_tag": "折扣券",
                "coupon_price": "9.5折",
                "coupon_tag1": "满2000可用",
                "coupon_name": "商品优惠券",
                "end_time": "2020.1.31",
                "type": "商品可用"
            }
        ]
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
7354
                                <div class="panel panel-default">
jinglong authored
7355
                    <div class="panel-heading" id="heading-46">
jinglong authored
7356 7357
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
7358
                            <a data-toggle="collapse" data-parent="#accordion46" href="#collapseOne46"> 分享获取礼包 <span class="text-muted">/api/user/share</span></a>
jinglong authored
7359 7360
                        </h4>
                    </div>
jinglong authored
7361
                    <div id="collapseOne46" class="panel-collapse collapse">
jinglong authored
7362 7363 7364
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
7365 7366 7367 7368
                            <ul class="nav nav-tabs" id="doctab46">
                                <li class="active"><a href="#info46" data-toggle="tab">基础信息</a></li>
                                <li><a href="#sandbox46" data-toggle="tab">在线测试</a></li>
                                <li><a href="#sample46" data-toggle="tab">返回示例</a></li>
jinglong authored
7369 7370 7371 7372 7373
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
7374
                                <div class="tab-pane active" id="info46">
jinglong authored
7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429
                                    <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>share_uid</td>
                                                        <td>inter</td>
                                                        <td></td>
                                                        <td>分享人uid</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 -->
jinglong authored
7430
                                <div class="tab-pane" id="sandbox46">
jinglong authored
7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446
                                    <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">
jinglong authored
7447
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/share" method="POST" name="form46" id="form46">
jinglong authored
7448 7449 7450 7451 7452
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="share_uid">share_uid</label>
                                                            <input type="inter" class="form-control input-sm" id="share_uid" required placeholder="分享人uid" name="share_uid">
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7453 7454
                                                            <button type="submit" class="btn btn-success send" rel="46">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="46">重置</button>
jinglong authored
7455 7456 7457 7458 7459 7460 7461 7462 7463
                                                        </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">
jinglong authored
7464 7465
                                                            <pre id="response_headers46"></pre>
                                                            <pre id="response46"></pre>
jinglong authored
7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479
                                                        </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 -->
jinglong authored
7480
                                <div class="tab-pane" id="sample46">
jinglong authored
7481 7482
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7483
                                            <pre id="sample_response46">{
jinglong authored
7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496
        "code": 1,
        "msg": "成功",
        "time": "1571037179",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
7497 7498 7499 7500 7501 7502
                            </div>

            <hr>

            <div class="row mt0 footer">
                <div class="col-md-6" align="left">
7503
                    Generated on 2019-12-14 11:38:07                </div>
jinglong authored
7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734
                <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>