审查视图

public/api.html 518.7 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
        "code": 1,
        "msg": "成功",
        "time": "1575010422",
        "data": {
            "id": 2,//晒单id
            "g_id": 6,//商品id
jinglong authored
3559
            "images": [//图片路径
3560 3561 3562
                "http://jinglong.springchunjia.cn/uploads/20191127/febfea9a34c918cb2f100f669ede2547.png",
                "http://jinglong.springchunjia.cn/uploads/20191127/042a3256122af7b10e26efb5e7649904.png"
            ],
jinglong authored
3563 3564 3565 3566
            "files": [//视频路径
                "http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4",
                "http://feifangu.qiniu.brotop.cn/uploads/20191217/05d216e117e11bd3de352c155b42eaaa.mp4"
            ],
3567 3568 3569 3570 3571 3572 3573 3574 3575 3576
            "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
3577 3578
        }
    }</pre>
jinglong authored
3579 3580 3581 3582 3583 3584 3585 3586
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
3600 3601 3602 3603
                            <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
3604 3605 3606 3607 3608
                            </ul>

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

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

                            <!-- Nav tabs -->
jinglong authored
3743 3744 3745 3746
                            <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
3747 3748 3749 3750 3751
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3752
                                <div class="tab-pane active" id="info23">
jinglong authored
3753
                                    <div class="well">
3754
                                        新人专享礼包                                    </div>
jinglong authored
3755 3756 3757 3758 3759 3760 3761 3762 3763
                                    <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">
3764
jinglong authored
3765 3766 3767 3768 3769 3770 3771 3772 3773
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
3774
                                <div class="tab-pane" id="sandbox23">
jinglong authored
3775 3776 3777 3778 3779
                                    <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
3780
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/news/newsCouponList" method="GET" name="form23" id="form23">
jinglong authored
3781
                                                                                                                <div class="form-group">
3782
jinglong authored
3783 3784
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
3785 3786
                                                            <button type="submit" class="btn btn-success send" rel="23">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="23">重置</button>
jinglong authored
3787 3788 3789 3790 3791 3792 3793 3794 3795
                                                        </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
3796 3797
                                                            <pre id="response_headers23"></pre>
                                                            <pre id="response23"></pre>
jinglong authored
3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811
                                                        </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
3812
                                <div class="tab-pane" id="sample23">
jinglong authored
3813 3814
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3815
                                            <pre id="sample_response23">{
jinglong authored
3816 3817
        "code": 1,
        "msg": "成功",
3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834
        "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
3835
            }
3836
        ]
jinglong authored
3837
    }</pre>
jinglong authored
3838 3839 3840 3841 3842 3843 3844 3845
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
3857 3858 3859 3860
                            <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>
3861 3862 3863 3864 3865
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
3866
                                <div class="tab-pane active" id="info24">
3867 3868 3869 3870 3871
                                    <div class="well">
                                        新人特惠商品列表                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
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 3901 3902 3903 3904
                                                                                    </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
3905
                                <div class="tab-pane" id="sandbox24">
3906 3907 3908 3909 3910
                                    <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
3911
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/news/newsGoodsList" method="GET" name="form24" id="form24">
3912 3913 3914 3915 3916
                                                                                                                <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
3917 3918
                                                            <button type="submit" class="btn btn-success send" rel="24">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="24">重置</button>
3919 3920 3921 3922 3923 3924 3925 3926 3927
                                                        </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
3928 3929
                                                            <pre id="response_headers24"></pre>
                                                            <pre id="response24"></pre>
3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943
                                                        </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
3944
                                <div class="tab-pane" id="sample24">
3945 3946
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
3947
                                            <pre id="sample_response24">{
3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961
        "code": 1,
        "msg": "成功",
        "time": "1574941706",
        "data": {
            "data": [
                {
                    "id": 7,//商品id
                    "image": "http://jinglong.springchunjia.cn/uploads/20191128/8a677f5a0418059bf1b974c50026af13.png",//图片路径
                    "name": "MONENT 动感系列",//商品名称
                    "tag": [//商品标签
                        "日式简约",
                        "隐秘乡奢",
                        "家庭情侣"
                    ],
jinglong authored
3962 3963 3964 3965
                    "style": [//商品规格
                        "主餐匙,茶匙各1件",
                        "古堡灰"
                    ],
3966 3967
                    "sale_price": 2299//销售价格
                    "expense_price": //运费(0:显示包运费标签)
3968
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
3969 3970
                },
                {
jinglong authored
3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996
                    "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
3997
                    <div class="panel-heading" id="heading-25">
jinglong authored
3998 3999
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
4000
                            <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 我的订单状态数量 <span class="text-muted">/api/orders/myOrderTotal</span></a>
jinglong authored
4001 4002
                        </h4>
                    </div>
jinglong authored
4003
                    <div id="collapseOne25" class="panel-collapse collapse">
jinglong authored
4004 4005 4006
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4007 4008 4009 4010
                            <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
4011 4012 4013 4014 4015
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4016
                                <div class="tab-pane active" id="info25">
jinglong authored
4017
                                    <div class="well">
jinglong authored
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 4145 4146 4147 4148
                                        我的订单状态数量                                    </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
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 4186 4187 4188 4189
                                        我的订单                                    </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>
4190
                                                        <td>订单状态(-1:全部,0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)</td>
jinglong authored
4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208
                                                    </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
4209
                                <div class="tab-pane" id="sandbox26">
jinglong authored
4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225
                                    <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
4226
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/myOrderList" method="GET" name="form26" id="form26">
jinglong authored
4227 4228
                                                                                                                <div class="form-group">
                                                            <label class="control-label" for="status">status</label>
4229
                                                            <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
4230 4231 4232 4233 4234 4235
                                                        </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
4236 4237
                                                            <button type="submit" class="btn btn-success send" rel="26">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="26">重置</button>
jinglong authored
4238 4239 4240 4241 4242 4243 4244 4245 4246
                                                        </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
4247 4248
                                                            <pre id="response_headers26"></pre>
                                                            <pre id="response26"></pre>
jinglong authored
4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262
                                                        </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
4263
                                <div class="tab-pane" id="sample26">
jinglong authored
4264 4265
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4266
                                            <pre id="sample_response26">{
jinglong authored
4267 4268 4269 4270 4271 4272 4273 4274 4275
        "code": 1,
        "msg": "成功",
        "time": "1575443560",
        "data": {
            "data": [
                {
                    "id": 2,//订单id
                    "order_sn": 1000002,//订单号
                    "total_price": 390,//支付金额
4276 4277
                    "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
                    "return_refund_flag": 0,//(2:退货,3:换货 )
jinglong authored
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 4309 4310 4311 4312
                    "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,
4313
                            "image": "商品图片路径",
jinglong authored
4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341
                            "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
4342
                    <div class="panel-heading" id="heading-27">
jinglong authored
4343 4344
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
4345
                            <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 订单详情 <span class="text-muted">/api/orders/myOrderDetail</span></a>
jinglong authored
4346 4347
                        </h4>
                    </div>
jinglong authored
4348
                    <div id="collapseOne27" class="panel-collapse collapse">
jinglong authored
4349 4350 4351
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4352 4353 4354 4355
                            <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
4356 4357 4358 4359 4360
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4361
                                <div class="tab-pane active" id="info27">
jinglong authored
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 4413 4414 4415 4416
                                    <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
4417
                                <div class="tab-pane" id="sandbox27">
jinglong authored
4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433
                                    <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
4434
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/myOrderDetail" method="GET" name="form27" id="form27">
jinglong authored
4435 4436 4437 4438 4439
                                                                                                                <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
4440 4441
                                                            <button type="submit" class="btn btn-success send" rel="27">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="27">重置</button>
jinglong authored
4442 4443 4444 4445 4446 4447 4448 4449 4450
                                                        </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
4451 4452
                                                            <pre id="response_headers27"></pre>
                                                            <pre id="response27"></pre>
jinglong authored
4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466
                                                        </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
4467
                                <div class="tab-pane" id="sample27">
jinglong authored
4468 4469
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4470
                                            <pre id="sample_response27">{
jinglong authored
4471 4472 4473 4474 4475 4476
        "code": 1,
        "msg": "成功",
        "time": "1575444520",
        "data": {
            "id": 1,//订单id
            "uid": 2,
4477 4478
            "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
            "return_refund_flag": 0,//(2:退货,3:换货 )
jinglong authored
4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498
            "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,//商品价格
4499
                    "image": "",//商品图片路径
jinglong authored
4500 4501
                    "name": "MONENT 动感系列动感系列动感系列1",//商品名称
                    "introduce": "轻波款,为客厅缀上霞光淡雾"//商品简介
4502
                },
jinglong authored
4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513
                {
                    "id": 2,
                    "o_id": 1,
                    "g_id": 2,
                    "style": "款式2",
                    "goods_number": 3,
                    "price": 200,
                    "name": "MONENT 动感系列动感系列2",
                    "introduce": "轻波款,为客厅缀上霞光淡雾"
                }
            ]
4514 4515 4516 4517 4518 4519 4520 4521 4522 4523
        }
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
4535 4536 4537 4538
                            <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
4539 4540 4541 4542 4543
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4544
                                <div class="tab-pane active" id="info28">
jinglong authored
4545
                                    <div class="well">
4546
                                        退款,退换货原因                                    </div>
jinglong authored
4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599
                                    <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
4600
                                <div class="tab-pane" id="sandbox28">
jinglong authored
4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616
                                    <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
4617
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/returnReason" method="GET" name="form28" id="form28">
jinglong authored
4618 4619 4620 4621 4622
                                                                                                                <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
4623 4624
                                                            <button type="submit" class="btn btn-success send" rel="28">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="28">重置</button>
jinglong authored
4625 4626 4627 4628 4629 4630 4631 4632 4633
                                                        </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
4634 4635
                                                            <pre id="response_headers28"></pre>
                                                            <pre id="response28"></pre>
jinglong authored
4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649
                                                        </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
4650
                                <div class="tab-pane" id="sample28">
jinglong authored
4651 4652
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4653
                                            <pre id="sample_response28">{
jinglong authored
4654 4655
        "code": 1,
        "msg": "成功",
4656 4657 4658
        "time": "1575511885",
        "data": {
            "id": 2,
4659 4660
            "status": 0,//订单状态(0: 待付款, 1: 已取消,2: 待发货, 3: 退款申请中,4: 已退款, 5: 待收货,6: 退换货申请中, 7: 已退换货,8: 已完成,9:退换货驳回,10:退款驳回)
            "return_refund_flag": 0,//(2:退货,3:换货 )
4661 4662 4663
            "refund_reason": "",//退款原因
            "return_reason": ""//退换货原因
        }
jinglong authored
4664 4665 4666 4667 4668 4669 4670 4671 4672 4673
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
4684 4685 4686 4687
                            <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
4688 4689 4690 4691 4692
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4693
                                <div class="tab-pane active" id="info29">
jinglong authored
4694
                                    <div class="well">
4695
                                        取消订单                                    </div>
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 4745 4746 4747 4748
                                    <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
4749
                                <div class="tab-pane" id="sandbox29">
4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765
                                    <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
4766
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelOrder" method="GET" name="form29" id="form29">
4767 4768 4769 4770 4771
                                                                                                                <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
4772 4773
                                                            <button type="submit" class="btn btn-success send" rel="29">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="29">重置</button>
4774 4775 4776 4777 4778 4779 4780 4781 4782
                                                        </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
4783 4784
                                                            <pre id="response_headers29"></pre>
                                                            <pre id="response29"></pre>
4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798
                                                        </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
4799
                                <div class="tab-pane" id="sample29">
4800 4801
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4802
                                            <pre id="sample_response29">{
4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816
        "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
4817
                    <div class="panel-heading" id="heading-30">
4818
                        <h4 class="panel-title">
jinglong authored
4819
                            <span class="label label-success">GET</span>
jinglong authored
4820
                            <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 申请退款 <span class="text-muted">/api/orders/applyRefund</span></a>
4821 4822
                        </h4>
                    </div>
jinglong authored
4823
                    <div id="collapseOne30" class="panel-collapse collapse">
4824 4825 4826
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4827 4828 4829 4830
                            <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>
4831 4832 4833 4834 4835
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4836
                                <div class="tab-pane active" id="info30">
4837
                                    <div class="well">
4838
                                        申请退款                                    </div>
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 4877 4878 4879 4880
                                    <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>
4881 4882 4883 4884 4885 4886
                                                                                                        <tr>
                                                        <td>refund_reason</td>
                                                        <td>string</td>
                                                        <td></td>
                                                        <td>退款原因</td>
                                                    </tr>
4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897
                                                                                                    </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
4898
                                <div class="tab-pane" id="sandbox30">
4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914
                                    <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
4915
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyRefund" method="GET" name="form30" id="form30">
4916 4917 4918 4919 4920
                                                                                                                <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">
4921 4922 4923 4924
                                                            <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
4925 4926
                                                            <button type="submit" class="btn btn-success send" rel="30">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="30">重置</button>
4927 4928 4929 4930 4931 4932 4933 4934 4935
                                                        </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
4936 4937
                                                            <pre id="response_headers30"></pre>
                                                            <pre id="response30"></pre>
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951
                                                        </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
4952
                                <div class="tab-pane" id="sample30">
4953 4954
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
4955
                                            <pre id="sample_response30">{
4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969
        "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
4970
                    <div class="panel-heading" id="heading-31">
4971 4972
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
4973
                            <a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 退款撤销 <span class="text-muted">/api/orders/cancelApplyRefund</span></a>
4974 4975
                        </h4>
                    </div>
jinglong authored
4976
                    <div id="collapseOne31" class="panel-collapse collapse">
4977 4978 4979
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
4980 4981 4982 4983
                            <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>
4984 4985 4986 4987 4988
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
4989
                                <div class="tab-pane active" id="info31">
4990
                                    <div class="well">
4991
                                        退款撤销                                    </div>
jinglong authored
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 5025 5026 5027 5028
                                    <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
5029 5030
                                                        <td>order_id</td>
                                                        <td>inter</td>
jinglong authored
5031
                                                        <td></td>
jinglong authored
5032
                                                        <td>订单id</td>
jinglong authored
5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044
                                                    </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
5045
                                <div class="tab-pane" id="sandbox31">
jinglong authored
5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061
                                    <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
5062
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelApplyRefund" method="GET" name="form31" id="form31">
jinglong authored
5063
                                                                                                                <div class="form-group">
jinglong authored
5064 5065
                                                            <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
5066 5067
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5068 5069
                                                            <button type="submit" class="btn btn-success send" rel="31">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="31">重置</button>
jinglong authored
5070 5071 5072 5073 5074 5075 5076 5077 5078
                                                        </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
5079 5080
                                                            <pre id="response_headers31"></pre>
                                                            <pre id="response31"></pre>
jinglong authored
5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094
                                                        </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
5095
                                <div class="tab-pane" id="sample31">
jinglong authored
5096 5097
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5098
                                            <pre id="sample_response31">{
5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112
        "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
5113
                    <div class="panel-heading" id="heading-32">
5114 5115
                        <h4 class="panel-title">
                            <span class="label label-success">GET</span>
jinglong authored
5116
                            <a data-toggle="collapse" data-parent="#accordion32" href="#collapseOne32"> 申请退换货 <span class="text-muted">/api/orders/applyReturnGoods</span></a>
5117 5118
                        </h4>
                    </div>
jinglong authored
5119
                    <div id="collapseOne32" class="panel-collapse collapse">
5120 5121 5122
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5123 5124 5125 5126
                            <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>
5127 5128 5129 5130 5131
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5132
                                <div class="tab-pane active" id="info32">
5133
                                    <div class="well">
5134
                                        申请退换货                                    </div>
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 5173 5174 5175 5176
                                    <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>
5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188
                                                                                                        <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>
5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199
                                                                                                    </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
5200
                                <div class="tab-pane" id="sandbox32">
5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216
                                    <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
5217
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/applyReturnGoods" method="GET" name="form32" id="form32">
5218 5219 5220 5221 5222
                                                                                                                <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">
5223 5224 5225 5226 5227 5228 5229 5230
                                                            <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
5231 5232
                                                            <button type="submit" class="btn btn-success send" rel="32">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="32">重置</button>
5233 5234 5235 5236 5237 5238 5239 5240 5241
                                                        </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
5242 5243
                                                            <pre id="response_headers32"></pre>
                                                            <pre id="response32"></pre>
5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257
                                                        </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
5258
                                <div class="tab-pane" id="sample32">
5259 5260
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5261
                                            <pre id="sample_response32">{
jinglong authored
5262 5263 5264 5265 5266
        "code": 1,
        "msg": "成功",
        "time": "1571730709",
        "data": null
    }</pre>
jinglong authored
5267 5268 5269 5270 5271 5272 5273 5274 5275
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
5286 5287 5288 5289
                            <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
5290 5291 5292 5293 5294
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5295
                                <div class="tab-pane active" id="info33">
jinglong authored
5296
                                    <div class="well">
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 5336 5337 5338 5339
                                        退换货撤销                                    </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>
5340 5341 5342 5343
                                                                                                        <tr>
                                                        <td>cancel_flag</td>
                                                        <td>inter</td>
                                                        <td></td>
5344
                                                        <td>记录本地缓存的该订单申请退换货时的状态状态(1:原始状态为待收货(状态为5),2:原始状态为已完成(状态为8))</td>
5345
                                                    </tr>
5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356
                                                                                                    </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
5357
                                <div class="tab-pane" id="sandbox33">
5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373
                                    <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
5374
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/cancelApplyReturnGoods" method="GET" name="form33" id="form33">
5375 5376 5377 5378 5379
                                                                                                                <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">
5380
                                                            <label class="control-label" for="cancel_flag">cancel_flag</label>
5381
                                                            <input type="inter" class="form-control input-sm" id="cancel_flag" required placeholder="记录本地缓存的该订单申请退换货时的状态状态(1:原始状态为待收货(状态为5),2:原始状态为已完成(状态为8))" name="cancel_flag">
5382 5383
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
5384 5385
                                                            <button type="submit" class="btn btn-success send" rel="33">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="33">重置</button>
5386 5387 5388 5389 5390 5391 5392 5393 5394
                                                        </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
5395 5396
                                                            <pre id="response_headers33"></pre>
                                                            <pre id="response33"></pre>
5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410
                                                        </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
5411
                                <div class="tab-pane" id="sample33">
5412 5413
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5414
                                            <pre id="sample_response33">{
5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428
        "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
5429
                    <div class="panel-heading" id="heading-34">
5430
                        <h4 class="panel-title">
jinglong authored
5431
                            <span class="label label-success">GET</span>
jinglong authored
5432
                            <a data-toggle="collapse" data-parent="#accordion34" href="#collapseOne34"> 确认收货 <span class="text-muted">/api/orders/confirmGoods</span></a>
5433 5434
                        </h4>
                    </div>
jinglong authored
5435
                    <div id="collapseOne34" class="panel-collapse collapse">
5436 5437 5438
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5439 5440 5441 5442
                            <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>
5443 5444 5445 5446 5447
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5448
                                <div class="tab-pane active" id="info34">
5449
                                    <div class="well">
jinglong authored
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 5500 5501 5502 5503
                                        确认收货                                    </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
5504
                                <div class="tab-pane" id="sandbox34">
jinglong authored
5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520
                                    <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
5521
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/orders/confirmGoods" method="GET" name="form34" id="form34">
jinglong authored
5522 5523 5524 5525 5526
                                                                                                                <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
5527 5528
                                                            <button type="submit" class="btn btn-success send" rel="34">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="34">重置</button>
jinglong authored
5529 5530 5531 5532 5533 5534 5535 5536 5537
                                                        </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
5538 5539
                                                            <pre id="response_headers34"></pre>
                                                            <pre id="response34"></pre>
jinglong authored
5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553
                                                        </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
5554
                                <div class="tab-pane" id="sample34">
jinglong authored
5555 5556
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5557
                                            <pre id="sample_response34">{
jinglong authored
5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573
        "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
5574
                    <div class="panel-heading" id="heading-35">
jinglong authored
5575 5576
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
5577
                            <a data-toggle="collapse" data-parent="#accordion35" href="#collapseOne35"> 支付订单 <span class="text-muted">/api/pay/pay</span></a>
jinglong authored
5578 5579
                        </h4>
                    </div>
jinglong authored
5580
                    <div id="collapseOne35" class="panel-collapse collapse">
jinglong authored
5581 5582 5583
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
5584 5585 5586 5587
                            <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
5588 5589 5590 5591 5592
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5593
                                <div class="tab-pane active" id="info35">
jinglong authored
5594
                                    <div class="well">
jinglong authored
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 5640 5641 5642 5643
                                        支付订单                                    </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
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 5682 5683 5684 5685
                                                                                                        <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
5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696
                                                                                                    </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
5697
                                <div class="tab-pane" id="sandbox35">
jinglong authored
5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713
                                    <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
5714
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/pay" method="POST" name="form35" id="form35">
jinglong authored
5715 5716 5717 5718 5719 5720 5721 5722 5723
                                                                                                                <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
5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751
                                                            <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
5752 5753
                                                            <button type="submit" class="btn btn-success send" rel="35">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="35">重置</button>
jinglong authored
5754 5755 5756 5757 5758 5759 5760 5761 5762
                                                        </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
5763 5764
                                                            <pre id="response_headers35"></pre>
                                                            <pre id="response35"></pre>
jinglong authored
5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778
                                                        </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
5779
                                <div class="tab-pane" id="sample35">
jinglong authored
5780 5781
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
5782
                                            <pre id="sample_response35"></pre>
jinglong authored
5783 5784 5785 5786 5787 5788 5789 5790 5791
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
5802 5803 5804 5805
                            <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
5806 5807 5808 5809 5810
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
5811
                                <div class="tab-pane active" id="info36">
jinglong authored
5812
                                    <div class="well">
jinglong authored
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 5924 5925 5926 5927
                                        立即购买                                    </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
5928 5929 5930 5931
                                                                                                        <tr>
                                                        <td>total_price</td>
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
5932
                                                        <td>实付总金额</td>
jinglong authored
5933
                                                    </tr>
jinglong authored
5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944
                                                                                                    </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
5945
                                <div class="tab-pane" id="sandbox36">
jinglong authored
5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961
                                    <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
5962
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pay/purchase" method="POST" name="form36" id="form36">
jinglong authored
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 6012 6013 6014 6015
                                                                                                                <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
6016
                                                            <label class="control-label" for="total_price">total_price</label>
jinglong authored
6017
                                                            <input type="inter" class="form-control input-sm" id="total_price" required placeholder="实付总金额" name="total_price">
jinglong authored
6018 6019
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6020 6021
                                                            <button type="submit" class="btn btn-success send" rel="36">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="36">重置</button>
jinglong authored
6022 6023 6024 6025 6026 6027 6028 6029 6030
                                                        </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
6031 6032
                                                            <pre id="response_headers36"></pre>
                                                            <pre id="response36"></pre>
jinglong authored
6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046
                                                        </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
6047
                                <div class="tab-pane" id="sample36">
jinglong authored
6048 6049
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6050
                                            <pre id="sample_response36"></pre>
jinglong authored
6051 6052 6053 6054 6055 6056 6057 6058
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6072 6073 6074 6075
                            <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
6076 6077 6078 6079 6080
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6081
                                <div class="tab-pane active" id="info37">
jinglong authored
6082
                                    <div class="well">
jinglong authored
6083
                                        商品检索列表                                    </div>
jinglong authored
6084 6085 6086
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
jinglong authored
6087
jinglong authored
6088 6089 6090 6091 6092
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
6104
                                                        <td>keyword</td>
jinglong authored
6105
                                                        <td>string</td>
jinglong authored
6106
                                                        <td></td>
jinglong authored
6107
                                                        <td>检索关键字</td>
jinglong authored
6108 6109
                                                    </tr>
                                                                                                        <tr>
jinglong authored
6110
                                                        <td>page</td>
6111
                                                        <td>inter</td>
jinglong authored
6112 6113
                                                        <td></td>
                                                        <td>分页页码</td>
6114 6115 6116
                                                    </tr>
                                                                                                    </tbody>
                                            </table>
jinglong authored
6117 6118 6119 6120 6121 6122 6123 6124 6125
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6126
                                <div class="tab-pane" id="sandbox37">
jinglong authored
6127 6128 6129 6130 6131
                                    <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
6132
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/search/searchGoodsList" method="GET" name="form37" id="form37">
jinglong authored
6133
                                                                                                                <div class="form-group">
jinglong authored
6134 6135
                                                            <label class="control-label" for="keyword">keyword</label>
                                                            <input type="string" class="form-control input-sm" id="keyword" required placeholder="检索关键字" name="keyword">
jinglong authored
6136
                                                        </div>
jinglong authored
6137
                                                                                                                <div class="form-group">
jinglong authored
6138 6139
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
jinglong authored
6140 6141
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6142 6143
                                                            <button type="submit" class="btn btn-success send" rel="37">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="37">重置</button>
jinglong authored
6144 6145 6146 6147 6148 6149 6150 6151 6152
                                                        </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
6153 6154
                                                            <pre id="response_headers37"></pre>
                                                            <pre id="response37"></pre>
jinglong authored
6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168
                                                        </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
6169
                                <div class="tab-pane" id="sample37">
jinglong authored
6170 6171
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6172
                                            <pre id="sample_response37">{
jinglong authored
6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192
        "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:显示包运费标签)
6193
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
jinglong authored
6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210
                },
                {
                    "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
6211 6212 6213 6214 6215 6216 6217 6218
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6232 6233 6234 6235
                            <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
6236 6237 6238 6239 6240
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6241
                                <div class="tab-pane active" id="info38">
jinglong authored
6242
                                    <div class="well">
jinglong authored
6243
                                        品类分类                                    </div>
jinglong authored
6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262
                                    <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
6263
                                <div class="tab-pane" id="sandbox38">
jinglong authored
6264 6265 6266 6267 6268
                                    <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
6269
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/sort/sortType" method="GET" name="form38" id="form38">
jinglong authored
6270 6271 6272 6273
                                                                                                                <div class="form-group">

                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6274 6275
                                                            <button type="submit" class="btn btn-success send" rel="38">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="38">重置</button>
jinglong authored
6276 6277 6278 6279 6280 6281 6282 6283 6284
                                                        </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
6285 6286
                                                            <pre id="response_headers38"></pre>
                                                            <pre id="response38"></pre>
jinglong authored
6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300
                                                        </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
6301
                                <div class="tab-pane" id="sample38">
jinglong authored
6302 6303
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6304
                                            <pre id="sample_response38">{
jinglong authored
6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328
        "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
6329 6330 6331 6332 6333 6334 6335 6336
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6350 6351 6352 6353
                            <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
6354 6355 6356 6357 6358
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6359
                                <div class="tab-pane active" id="info39">
jinglong authored
6360
                                    <div class="well">
jinglong authored
6361
                                        小程序登录                                    </div>
jinglong authored
6362 6363 6364 6365 6366 6367 6368 6369 6370
                                    <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
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 6397 6398 6399 6400
                                                                                        <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
6401 6402 6403 6404 6405 6406 6407 6408 6409
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6410
                                <div class="tab-pane" id="sandbox39">
jinglong authored
6411 6412 6413 6414 6415
                                    <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
6416
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="POST" name="form39" id="form39">
jinglong authored
6417
                                                                                                                <div class="form-group">
jinglong authored
6418 6419
                                                            <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
6420 6421
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6422 6423 6424 6425 6426 6427 6428 6429
                                                            <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
6430 6431
                                                            <button type="submit" class="btn btn-success send" rel="39">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="39">重置</button>
jinglong authored
6432 6433 6434 6435 6436 6437 6438 6439 6440
                                                        </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
6441 6442
                                                            <pre id="response_headers39"></pre>
                                                            <pre id="response39"></pre>
jinglong authored
6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456
                                                        </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
6457
                                <div class="tab-pane" id="sample39">
jinglong authored
6458 6459
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6460
                                            <pre id="sample_response39">{
jinglong authored
6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471
            "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
6472 6473 6474 6475 6476 6477 6478 6479 6480
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6491 6492 6493 6494
                            <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
6495 6496 6497 6498 6499
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6500
                                <div class="tab-pane active" id="info40">
jinglong authored
6501
                                    <div class="well">
jinglong authored
6502
                                        获取个人信息(新人/旧人)                                    </div>
jinglong authored
6503 6504 6505
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>Headers</strong></div>
                                        <div class="panel-body">
6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
6517
                                                        <td>token</td>
6518 6519
                                                        <td>string</td>
                                                        <td></td>
jinglong authored
6520 6521 6522 6523 6524 6525 6526 6527 6528
                                                        <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
6529
jinglong authored
6530 6531 6532 6533 6534 6535 6536 6537 6538
                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>正文</strong></div>
                                        <div class="panel-body">
</div>
                                    </div>
                                </div><!-- #info -->
jinglong authored
6539
                                <div class="tab-pane" id="sandbox40">
jinglong authored
6540 6541 6542
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
jinglong authored
6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553
                                                <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
6554 6555
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
6556
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/info" method="GET" name="form40" id="form40">
jinglong authored
6557
                                                                                                                <div class="form-group">
jinglong authored
6558
jinglong authored
6559 6560
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6561 6562
                                                            <button type="submit" class="btn btn-success send" rel="40">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="40">重置</button>
jinglong authored
6563 6564 6565 6566 6567 6568 6569 6570 6571
                                                        </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
6572 6573
                                                            <pre id="response_headers40"></pre>
                                                            <pre id="response40"></pre>
jinglong authored
6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587
                                                        </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
6588
                                <div class="tab-pane" id="sample40">
jinglong authored
6589 6590
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6591
                                            <pre id="sample_response40">{
jinglong authored
6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608
        "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
6609 6610 6611 6612 6613 6614 6615 6616 6617
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6628 6629 6630 6631
                            <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
6632 6633 6634 6635 6636
                            </ul>

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

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

                            <!-- Nav tabs -->
jinglong authored
6773 6774 6775 6776
                            <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
6777 6778 6779 6780 6781
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6782
                                <div class="tab-pane active" id="info42">
jinglong authored
6783
                                    <div class="well">
jinglong authored
6784
                                        收藏                                    </div>
jinglong authored
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 6818 6819 6820 6821
                                    <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
6822
                                                        <td>goods_id</td>
jinglong authored
6823
                                                        <td>inter</td>
jinglong authored
6824 6825
                                                        <td></td>
                                                        <td>商品id</td>
jinglong authored
6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837
                                                    </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
6838
                                <div class="tab-pane" id="sandbox42">
jinglong authored
6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854
                                    <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
6855
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/collection" method="POST" name="form42" id="form42">
jinglong authored
6856
                                                                                                                <div class="form-group">
jinglong authored
6857 6858
                                                            <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
6859 6860
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
6861 6862
                                                            <button type="submit" class="btn btn-success send" rel="42">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="42">重置</button>
jinglong authored
6863 6864 6865 6866 6867 6868 6869 6870 6871
                                                        </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
6872 6873
                                                            <pre id="response_headers42"></pre>
                                                            <pre id="response42"></pre>
jinglong authored
6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887
                                                        </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
6888
                                <div class="tab-pane" id="sample42">
jinglong authored
6889 6890
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
6891
                                            <pre id="sample_response42">{
jinglong authored
6892 6893
        "code": 1,
        "msg": "成功",
jinglong authored
6894
        "time": "1571037179",
jinglong authored
6895 6896
        "data": null
    }</pre>
jinglong authored
6897 6898 6899 6900 6901 6902 6903 6904 6905
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
6916 6917 6918 6919
                            <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
6920 6921 6922 6923 6924
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
6925
                                <div class="tab-pane active" id="info43">
jinglong authored
6926
                                    <div class="well">
jinglong authored
6927
                                        取消收藏                                    </div>
jinglong authored
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 6961 6962 6963 6964
                                    <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
6965
                                                        <td>goods_id</td>
jinglong authored
6966 6967
                                                        <td>inter</td>
                                                        <td></td>
jinglong authored
6968
                                                        <td>商品id</td>
jinglong authored
6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980
                                                    </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
6981
                                <div class="tab-pane" id="sandbox43">
jinglong authored
6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997
                                    <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
6998
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/cancelCollection" method="POST" name="form43" id="form43">
jinglong authored
6999
                                                                                                                <div class="form-group">
jinglong authored
7000 7001
                                                            <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
7002 7003
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7004 7005
                                                            <button type="submit" class="btn btn-success send" rel="43">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="43">重置</button>
jinglong authored
7006 7007 7008 7009 7010 7011 7012 7013 7014
                                                        </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
7015 7016
                                                            <pre id="response_headers43"></pre>
                                                            <pre id="response43"></pre>
jinglong authored
7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030
                                                        </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
7031
                                <div class="tab-pane" id="sample43">
jinglong authored
7032 7033
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7034
                                            <pre id="sample_response43">{
jinglong authored
7035 7036
        "code": 1,
        "msg": "成功",
jinglong authored
7037 7038
        "time": "1571037179",
        "data": null
jinglong authored
7039 7040 7041 7042 7043 7044 7045 7046 7047 7048
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
7059 7060 7061 7062
                            <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
7063 7064 7065 7066 7067
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
7068
                                <div class="tab-pane active" id="info44">
jinglong authored
7069
                                    <div class="well">
jinglong authored
7070
                                        我的收藏                                    </div>
jinglong authored
7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084
                                    <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
7085
                                                        <td>token</td>
jinglong authored
7086 7087
                                                        <td>string</td>
                                                        <td></td>
jinglong authored
7088
                                                        <td>请求的Token</td>
jinglong authored
7089
                                                    </tr>
jinglong authored
7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103
                                                                                                    </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
7104
                                                    </tr>
jinglong authored
7105 7106
                                                </thead>
                                                <tbody>
jinglong authored
7107
                                                                                                        <tr>
jinglong authored
7108 7109
                                                        <td>page</td>
                                                        <td>inter</td>
jinglong authored
7110
                                                        <td></td>
jinglong authored
7111
                                                        <td>分页页码</td>
jinglong authored
7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123
                                                    </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
7124
                                <div class="tab-pane" id="sandbox44">
jinglong authored
7125 7126 7127
                                    <div class="row">
                                        <div class="col-md-12">
                                                                                        <div class="panel panel-default">
jinglong authored
7128
                                                <div class="panel-heading"><strong>Headers</strong></div>
jinglong authored
7129
                                                <div class="panel-body">
jinglong authored
7130
                                                    <div class="headers">
jinglong authored
7131
                                                                                                                <div class="form-group">
jinglong authored
7132 7133
                                                            <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
7134
                                                        </div>
jinglong authored
7135 7136 7137 7138 7139 7140
                                                                                                            </div>
                                                </div>
                                            </div>
                                                                                        <div class="panel panel-default">
                                                <div class="panel-heading"><strong>参数</strong></div>
                                                <div class="panel-body">
jinglong authored
7141
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCollectionList" method="GET" name="form44" id="form44">
jinglong authored
7142
                                                                                                                <div class="form-group">
jinglong authored
7143 7144
                                                            <label class="control-label" for="page">page</label>
                                                            <input type="inter" class="form-control input-sm" id="page" required placeholder="分页页码" name="page">
jinglong authored
7145 7146
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7147 7148
                                                            <button type="submit" class="btn btn-success send" rel="44">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="44">重置</button>
jinglong authored
7149 7150 7151 7152 7153 7154 7155 7156 7157
                                                        </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
7158 7159
                                                            <pre id="response_headers44"></pre>
                                                            <pre id="response44"></pre>
jinglong authored
7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173
                                                        </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
7174
                                <div class="tab-pane" id="sample44">
jinglong authored
7175 7176
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7177
                                            <pre id="sample_response44">{
jinglong authored
7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197
        "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:显示包运费标签)
7198
                    "is_new_tag": 0//新人价格标签(0:不显示,1:显示)
jinglong authored
7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215
                },
                {
                    "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
7216 7217 7218 7219 7220 7221 7222 7223
                                        </div>
                                    </div>
                                </div><!-- #sample -->

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

                            <!-- Nav tabs -->
jinglong authored
7235 7236 7237 7238
                            <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>
7239 7240 7241 7242 7243
                            </ul>

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

                                                                                    </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="panel-heading"><strong>参数</strong></div>
                                        <div class="panel-body">
7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266
                                                                                        <table class="table table-hover">
                                                <thead>
                                                    <tr>
                                                        <th>名称</th>
                                                        <th>类型</th>
                                                        <th>必选</th>
                                                        <th>描述</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                                                                        <tr>
jinglong authored
7267 7268
                                                        <td>is_flag</td>
                                                        <td>inter</td>
7269
                                                        <td></td>
jinglong authored
7270
                                                        <td>优惠券标识(0:未使用,1:已使用,2:已过期)</td>
7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282
                                                    </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
7283
                                <div class="tab-pane" id="sandbox45">
7284 7285 7286 7287 7288
                                    <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
7289
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/myCouponList" method="GET" name="form45" id="form45">
7290
                                                                                                                <div class="form-group">
jinglong authored
7291 7292
                                                            <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">
7293 7294
                                                        </div>
                                                                                                                <div class="form-group">
jinglong authored
7295 7296
                                                            <button type="submit" class="btn btn-success send" rel="45">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="45">重置</button>
7297 7298 7299 7300 7301 7302 7303 7304 7305
                                                        </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
7306 7307
                                                            <pre id="response_headers45"></pre>
                                                            <pre id="response45"></pre>
7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321
                                                        </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
7322
                                <div class="tab-pane" id="sample45">
7323 7324
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7325
                                            <pre id="sample_response45">{
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 7354 7355 7356 7357
        "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
7358
                                <div class="panel panel-default">
jinglong authored
7359
                    <div class="panel-heading" id="heading-46">
jinglong authored
7360 7361
                        <h4 class="panel-title">
                            <span class="label label-primary">POST</span>
jinglong authored
7362
                            <a data-toggle="collapse" data-parent="#accordion46" href="#collapseOne46"> 分享获取礼包 <span class="text-muted">/api/user/share</span></a>
jinglong authored
7363 7364
                        </h4>
                    </div>
jinglong authored
7365
                    <div id="collapseOne46" class="panel-collapse collapse">
jinglong authored
7366 7367 7368
                        <div class="panel-body">

                            <!-- Nav tabs -->
jinglong authored
7369 7370 7371 7372
                            <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
7373 7374 7375 7376 7377
                            </ul>

                            <!-- Tab panes -->
                            <div class="tab-content">
jinglong authored
7378
                                <div class="tab-pane active" id="info46">
jinglong authored
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 7430 7431 7432 7433
                                    <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
7434
                                <div class="tab-pane" id="sandbox46">
jinglong authored
7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450
                                    <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
7451
                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/share" method="POST" name="form46" id="form46">
jinglong authored
7452 7453 7454 7455 7456
                                                                                                                <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
7457 7458
                                                            <button type="submit" class="btn btn-success send" rel="46">提交</button>
                                                            <button type="reset" class="btn btn-info" rel="46">重置</button>
jinglong authored
7459 7460 7461 7462 7463 7464 7465 7466 7467
                                                        </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
7468 7469
                                                            <pre id="response_headers46"></pre>
                                                            <pre id="response46"></pre>
jinglong authored
7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483
                                                        </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
7484
                                <div class="tab-pane" id="sample46">
jinglong authored
7485 7486
                                    <div class="row">
                                        <div class="col-md-12">
jinglong authored
7487
                                            <pre id="sample_response46">{
jinglong authored
7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500
        "code": 1,
        "msg": "成功",
        "time": "1571037179",
        "data": null
    }</pre>
                                        </div>
                                    </div>
                                </div><!-- #sample -->

                            </div><!-- .tab-content -->
                        </div>
                    </div>
                </div>
jinglong authored
7501 7502 7503 7504 7505 7506
                            </div>

            <hr>

            <div class="row mt0 footer">
                <div class="col-md-6" align="left">
jinglong authored
7507
                    Generated on 2019-12-17 16:21:49                </div>
jinglong authored
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 7735 7736 7737 7738
                <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>