From 9308802c5ba304f1a2749e8928f6fc7f953c7b1f Mon Sep 17 00:00:00 2001
From: guosheng <gs@bronet.cn>
Date: Tue, 18 Aug 2020 18:59:45 +0800
Subject: [PATCH] 修改接口

---
 application/api/controller/User.php |   85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 public/api.html                     | 1105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2 files changed, 717 insertions(+), 473 deletions(-)

diff --git a/application/api/controller/User.php b/application/api/controller/User.php
index efb2566..3d2dd0b 100644
--- a/application/api/controller/User.php
+++ b/application/api/controller/User.php
@@ -1891,6 +1891,7 @@ class User extends Api
 
     }
 
+
     /**
      * @ApiTitle    (发短信)
      * @ApiSummary  (发短信)
@@ -2096,6 +2097,90 @@ class User extends Api
         }
     }
 
+
+    /**
+     * @ApiTitle    (苹果完成订单)
+     * @ApiSummary  (苹果完成订单)
+     * @ApiMethod   (POST)
+     * @ApiRoute    (/api/user/iphone_finish_order)
+     * @ApiHeaders  (name=token, type=string, required=true, description="请求的Token")
+     *
+     *
+     * @ApiReturn({
+    "code": 1,
+    "msg": "成功",
+    "time": "1571492001",
+    "data": {
+    "info": [
+    {
+    "id": 13,
+    "user_id": 10,
+    "pic_id": null,
+    "video_id": {
+    "id": "1346",
+    "attr": "2K",
+    "vipprice": 1350,
+    "thumbnail": "http://qiniuareial.w.broing.cn/uploads/20200811/Fmpouw8DlCJYxSCSveIh2fjlhG9i.gif"
+    },
+    "total": 1350,
+    "status": 2,
+    "num": "2020081299101519",
+    "createtime": 1597232108,
+    "updatetime": 1597232127
+    },
+    {
+    "id": 22,
+    "user_id": 10,
+    "pic_id": 31,
+    "video_id": null,
+    "total": 2250,
+    "status": 2,
+    "num": "2020081810151565",
+    "createtime": 1597747902,
+    "updatetime": null
+    }
+    ],
+    "is_vip": "1"
+    }
+    })
+     */
+    public function iphone_finish_order()
+    {
+        $user_id = $this->auth->id;
+        $user = Db::name('user')->where('id',$user_id)->field('id,is_vip')->find();
+        $data['info'] = Db::name('iphone')
+            ->where('user_id',$user_id)
+            ->where('status',2)
+            ->select();
+        $rule = config('verify.path');
+        foreach ($data['info'] as &$v){
+            if(!empty($v['pic_id'])){
+                $v1 = Db::name('pic')->field('id,title,thumbnail,url,code,price,number')->where('id',$v['pic_id'])->find();
+                $v1['thumbnail'] = $rule.$v1['thumbnail'];
+                $v1['vipprice'] = $v1['price']*0.75;
+            }
+            if(!empty($v['video_id'])){
+                $v['video_id'] = unserialize($v['video_id']);
+                $info = Db::name('video')->field('keyword,type_ids,content,is_recommend,buy_num,click_num,createtime,updatetime',true)->where('id',$v['video_id']['id'])->find();
+                if($v['video_id']['attr'] == 1){
+                    $v['video_id']['attr'] = '2K';
+                    $v['video_id']['vipprice'] = $info['price']*0.75;
+                }elseif ($v['video_id']['attr'] == 2){
+                    $v['video_id']['attr'] = '4K';
+                    $v['video_id']['four_vipprice'] = $info['four_price'] * 0.75;
+                }else{
+                    $v['video_id']['attr'] = '8K';
+                    $v['video_id']['eight_vipprice'] =$info['eight_price'] * 0.75;
+                }
+                $v['video_id']['thumbnail'] = $rule.$info['thumbnail'];
+
+            }
+        }
+        $data['is_vip'] = $user['is_vip'];
+        $this->success('success',$data);
+    }
+
+
     //会员
     public function fetch($res)
     {
diff --git a/public/api.html b/public/api.html
index 398ab2e..de7e163 100644
--- a/public/api.html
+++ b/public/api.html
@@ -171,8 +171,7 @@
                                         <a href="#个人中心" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">个人中心  <i class="fa fa-caret-down"></i></a>
                     <div class="child collapse" id="个人中心">
                                                 <a href="javascript:;" data-id="17" class="list-group-item">小程序登录</a>
-                                                <a href="javascript:;" data-id="49" class="list-group-item"></a>
-                                                <a href="javascript:;" data-id="41" class="list-group-item">创建图片订单</a>
+                                                <a href="javascript:;" data-id="50" 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>
@@ -180,18 +179,19 @@
                                                 <a href="javascript:;" data-id="46" class="list-group-item"></a>
                                                 <a href="javascript:;" data-id="47" class="list-group-item">删除订单</a>
                                                 <a href="javascript:;" data-id="48" class="list-group-item">我的订单</a>
-                                                <a href="javascript:;" data-id="50" class="list-group-item"></a>
-                                                <a href="javascript:;" data-id="39" class="list-group-item">加入购物车</a>
-                                                <a href="javascript:;" data-id="51" class="list-group-item">消费记录</a>
-                                                <a href="javascript:;" data-id="52" class="list-group-item">获取sessionkey</a>
-                                                <a href="javascript:;" data-id="53" class="list-group-item"></a>
-                                                <a href="javascript:;" data-id="54" class="list-group-item">获取用户手机号</a>
-                                                <a href="javascript:;" data-id="55" class="list-group-item">绑定用户手机号</a>
-                                                <a href="javascript:;" data-id="56" class="list-group-item">填写发票信息</a>
-                                                <a href="javascript:;" data-id="57" class="list-group-item">填写授权书信息</a>
-                                                <a href="javascript:;" data-id="58" class="list-group-item">投诉与建议</a>
+                                                <a href="javascript:;" data-id="49" class="list-group-item">苹果完成订单</a>
+                                                <a href="javascript:;" data-id="51" class="list-group-item"></a>
                                                 <a href="javascript:;" data-id="40" class="list-group-item">删除购物车商品</a>
-                                                <a href="javascript:;" data-id="38" class="list-group-item">购物车列表</a>
+                                                <a href="javascript:;" data-id="52" class="list-group-item">消费记录</a>
+                                                <a href="javascript:;" data-id="53" class="list-group-item">获取sessionkey</a>
+                                                <a href="javascript:;" data-id="54" class="list-group-item"></a>
+                                                <a href="javascript:;" data-id="55" class="list-group-item">获取用户手机号</a>
+                                                <a href="javascript:;" data-id="56" class="list-group-item">绑定用户手机号</a>
+                                                <a href="javascript:;" data-id="57" class="list-group-item">填写发票信息</a>
+                                                <a href="javascript:;" data-id="58" class="list-group-item">填写授权书信息</a>
+                                                <a href="javascript:;" data-id="59" class="list-group-item">投诉与建议</a>
+                                                <a href="javascript:;" data-id="41" class="list-group-item">创建图片订单</a>
+                                                <a href="javascript:;" data-id="39" class="list-group-item">加入购物车</a>
                                                 <a href="javascript:;" data-id="18" class="list-group-item">首页flash接口</a>
                                                 <a href="javascript:;" data-id="27" class="list-group-item">精美大片列表</a>
                                                 <a href="javascript:;" data-id="19" class="list-group-item">分享封面接口</a>
@@ -203,7 +203,7 @@
                                                 <a href="javascript:;" data-id="25" class="list-group-item">分类下的图片视频</a>
                                                 <a href="javascript:;" data-id="26" class="list-group-item">视频列表</a>
                                                 <a href="javascript:;" data-id="28" class="list-group-item">图片详情</a>
-                                                <a href="javascript:;" data-id="37" class="list-group-item">会员须知</a>
+                                                <a href="javascript:;" data-id="38" 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>
@@ -212,7 +212,8 @@
                                                 <a href="javascript:;" data-id="34" class="list-group-item">创建充值订单</a>
                                                 <a href="javascript:;" data-id="35" class="list-group-item">创建开通会员订单</a>
                                                 <a href="javascript:;" data-id="36" class="list-group-item">会员介绍</a>
-                                                <a href="javascript:;" data-id="59" class="list-group-item">切换数值</a>
+                                                <a href="javascript:;" data-id="37" class="list-group-item">会员须知</a>
+                                                <a href="javascript:;" data-id="60" class="list-group-item">切换数值</a>
                                             </div>
                                     </div>
             </div>
@@ -2193,26 +2194,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-49">
+                    <div class="panel-heading" id="heading-50">
                         <h4 class="panel-title">
                             <span class="label label-success">GET</span>
-                            <a data-toggle="collapse" data-parent="#accordion49" href="#collapseOne49">  <span class="text-muted">/api/user/fetch</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion50" href="#collapseOne50">  <span class="text-muted">/api/user/fetch</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne49" class="panel-collapse collapse">
+                    <div id="collapseOne50" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab49">
-                                <li class="active"><a href="#info49" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox49" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample49" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab50">
+                                <li class="active"><a href="#info50" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox50" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample50" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info49">
+                                <div class="tab-pane active" id="info50">
                                     <div class="well">
                                                                             </div>
                                     <div class="panel panel-default">
@@ -2234,167 +2235,19 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox49">
+                                <div class="tab-pane" id="sandbox50">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/fetch" method="get" name="form49" id="form49">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/fetch" method="get" name="form50" id="form50">
                                                                                                                 <div class="form-group">
                                                             无
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="49">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="49">重置</button>
-                                                        </div>
-                                                    </form>
-                                                </div>
-                                            </div>
-                                            <div class="panel panel-default">
-                                                <div class="panel-heading"><strong>响应输出</strong></div>
-                                                <div class="panel-body">
-                                                    <div class="row">
-                                                        <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers49"></pre>
-                                                            <pre id="response49"></pre>
-                                                        </div>
-                                                    </div>
-                                                </div>
-                                            </div>
-                                            <div class="panel panel-default">
-                                                <div class="panel-heading"><strong>返回参数</strong></div>
-                                                <div class="panel-body">
-                                                                                                        无
-                                                                                                    </div>
-                                            </div>
-                                        </div>
-                                    </div>
-                                </div><!-- #sandbox -->
-
-                                <div class="tab-pane" id="sample49">
-                                    <div class="row">
-                                        <div class="col-md-12">
-                                            <pre id="sample_response49">无</pre>
-                                        </div>
-                                    </div>
-                                </div><!-- #sample -->
-
-                            </div><!-- .tab-content -->
-                        </div>
-                    </div>
-                </div>
-                                <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-41">
-                        <h4 class="panel-title">
-                            <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion41" href="#collapseOne41"> 创建图片订单 <span class="text-muted">/api/user/picorder</span></a>
-                        </h4>
-                    </div>
-                    <div id="collapseOne41" class="panel-collapse collapse">
-                        <div class="panel-body">
-
-                            <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab41">
-                                <li class="active"><a href="#info41" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox41" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample41" data-toggle="tab">返回示例</a></li>
-                            </ul>
-
-                            <!-- Tab panes -->
-                            <div class="tab-content">
-
-                                <div class="tab-pane active" id="info41">
-                                    <div class="well">
-                                        创建图片订单                                    </div>
-                                    <div class="panel panel-default">
-                                        <div class="panel-heading"><strong>Headers</strong></div>
-                                        <div class="panel-body">
-                                                                                        <table class="table table-hover">
-                                                <thead>
-                                                    <tr>
-                                                        <th>名称</th>
-                                                        <th>类型</th>
-                                                        <th>必选</th>
-                                                        <th>描述</th>
-                                                    </tr>
-                                                </thead>
-                                                <tbody>
-                                                                                                        <tr>
-                                                        <td>token</td>
-                                                        <td>string</td>
-                                                        <td>是</td>
-                                                        <td>请求的Token</td>
-                                                    </tr>
-                                                                                                    </tbody>
-                                            </table>
-                                                                                    </div>
-                                    </div>
-                                    <div class="panel panel-default">
-                                        <div class="panel-heading"><strong>参数</strong></div>
-                                        <div class="panel-body">
-                                                                                        <table class="table table-hover">
-                                                <thead>
-                                                    <tr>
-                                                        <th>名称</th>
-                                                        <th>类型</th>
-                                                        <th>必选</th>
-                                                        <th>描述</th>
-                                                    </tr>
-                                                </thead>
-                                                <tbody>
-                                                                                                        <tr>
-                                                        <td>pic_id</td>
-                                                        <td>inter</td>
-                                                        <td>是</td>
-                                                        <td>图片ID</td>
-                                                    </tr>
-                                                                                                        <tr>
-                                                        <td>total</td>
-                                                        <td>float</td>
-                                                        <td>是</td>
-                                                        <td>价格</td>
-                                                    </tr>
-                                                                                                    </tbody>
-                                            </table>
-                                                                                    </div>
-                                    </div>
-                                    <div class="panel panel-default">
-                                        <div class="panel-heading"><strong>正文</strong></div>
-                                        <div class="panel-body">
-                                            无                                        </div>
-                                    </div>
-                                </div><!-- #info -->
-
-                                <div class="tab-pane" id="sandbox41">
-                                    <div class="row">
-                                        <div class="col-md-12">
-                                                                                        <div class="panel panel-default">
-                                                <div class="panel-heading"><strong>Headers</strong></div>
-                                                <div class="panel-body">
-                                                    <div class="headers">
-                                                                                                                <div class="form-group">
-                                                            <label class="control-label" for="token">token</label>
-                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
-                                                        </div>
-                                                                                                            </div>
-                                                </div>
-                                            </div>
-                                                                                        <div class="panel panel-default">
-                                                <div class="panel-heading"><strong>参数</strong></div>
-                                                <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picorder" method="POST" name="form41" id="form41">
-                                                                                                                <div class="form-group">
-                                                            <label class="control-label" for="pic_id">pic_id</label>
-                                                            <input type="inter" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
-                                                        </div>
-                                                                                                                <div class="form-group">
-                                                            <label class="control-label" for="total">total</label>
-                                                            <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
-                                                        </div>
-                                                                                                                <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="41">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="41">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="50">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="50">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -2404,8 +2257,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers41"></pre>
-                                                            <pre id="response41"></pre>
+                                                            <pre id="response_headers50"></pre>
+                                                            <pre id="response50"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -2420,17 +2273,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample41">
+                                <div class="tab-pane" id="sample50">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response41">{
-    "code": 1,
-    "msg": "成功",
-    "time": "1571492001",
-    "data": {
-        "order_id"://订单ID
-    }
-    }</pre>
+                                            <pre id="sample_response50">无</pre>
                                         </div>
                                     </div>
                                 </div><!-- #sample -->
@@ -2943,6 +2789,8 @@
     "msg": "成功",
     "time": "1571492001",
     "data": {
+    "is_vip"://是否是会员1是0否
+    "is_enough"://余额是否充足1充足2不足
     "order_id"://订单ID
     }
     }</pre>
@@ -3481,32 +3329,49 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-50">
+                    <div class="panel-heading" id="heading-49">
                         <h4 class="panel-title">
-                            <span class="label label-success">GET</span>
-                            <a data-toggle="collapse" data-parent="#accordion50" href="#collapseOne50">  <span class="text-muted">/api/user/fetch1</span></a>
+                            <span class="label label-primary">POST</span>
+                            <a data-toggle="collapse" data-parent="#accordion49" href="#collapseOne49"> 苹果完成订单 <span class="text-muted">/api/user/iphone_finish_order</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne50" class="panel-collapse collapse">
+                    <div id="collapseOne49" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab50">
-                                <li class="active"><a href="#info50" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox50" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample50" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab49">
+                                <li class="active"><a href="#info49" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox49" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample49" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info50">
+                                <div class="tab-pane active" id="info49">
                                     <div class="well">
-                                                                            </div>
+                                        苹果完成订单                                    </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">
@@ -3522,19 +3387,30 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox50">
+                                <div class="tab-pane" id="sandbox49">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>Headers</strong></div>
+                                                <div class="panel-body">
+                                                    <div class="headers">
+                                                                                                                <div class="form-group">
+                                                            <label class="control-label" for="token">token</label>
+                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
+                                                        </div>
+                                                                                                            </div>
+                                                </div>
+                                            </div>
+                                                                                        <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/fetch1" method="get" name="form50" id="form50">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/iphone_finish_order" method="POST" name="form49" id="form49">
                                                                                                                 <div class="form-group">
                                                             无
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="50">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="50">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="49">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="49">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -3544,8 +3420,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers50"></pre>
-                                                            <pre id="response50"></pre>
+                                                            <pre id="response_headers49"></pre>
+                                                            <pre id="response49"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -3560,41 +3436,169 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample50">
+                                <div class="tab-pane" id="sample49">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response50">无</pre>
-                                        </div>
-                                    </div>
-                                </div><!-- #sample -->
-
+                                            <pre id="sample_response49">{
+    "code": 1,
+    "msg": "成功",
+    "time": "1571492001",
+    "data": {
+    "info": [
+    {
+    "id": 13,
+    "user_id": 10,
+    "pic_id": null,
+    "video_id": {
+    "id": "1346",
+    "attr": "2K",
+    "vipprice": 1350,
+    "thumbnail": "http://qiniuareial.w.broing.cn/uploads/20200811/Fmpouw8DlCJYxSCSveIh2fjlhG9i.gif"
+    },
+    "total": 1350,
+    "status": 2,
+    "num": "2020081299101519",
+    "createtime": 1597232108,
+    "updatetime": 1597232127
+    },
+    {
+    "id": 22,
+    "user_id": 10,
+    "pic_id": 31,
+    "video_id": null,
+    "total": 2250,
+    "status": 2,
+    "num": "2020081810151565",
+    "createtime": 1597747902,
+    "updatetime": null
+    }
+    ],
+    "is_vip": "1"
+    }
+    }</pre>
+                                        </div>
+                                    </div>
+                                </div><!-- #sample -->
+
                             </div><!-- .tab-content -->
                         </div>
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-39">
+                    <div class="panel-heading" id="heading-51">
+                        <h4 class="panel-title">
+                            <span class="label label-success">GET</span>
+                            <a data-toggle="collapse" data-parent="#accordion51" href="#collapseOne51">  <span class="text-muted">/api/user/fetch1</span></a>
+                        </h4>
+                    </div>
+                    <div id="collapseOne51" class="panel-collapse collapse">
+                        <div class="panel-body">
+
+                            <!-- Nav tabs -->
+                            <ul class="nav nav-tabs" id="doctab51">
+                                <li class="active"><a href="#info51" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox51" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample51" data-toggle="tab">返回示例</a></li>
+                            </ul>
+
+                            <!-- Tab panes -->
+                            <div class="tab-content">
+
+                                <div class="tab-pane active" id="info51">
+                                    <div class="well">
+                                                                            </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="sandbox51">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                                                                        <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>参数</strong></div>
+                                                <div class="panel-body">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/fetch1" method="get" name="form51" id="form51">
+                                                                                                                <div class="form-group">
+                                                            无
+                                                        </div>
+                                                                                                                <div class="form-group">
+                                                            <button type="submit" class="btn btn-success send" rel="51">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="51">重置</button>
+                                                        </div>
+                                                    </form>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>响应输出</strong></div>
+                                                <div class="panel-body">
+                                                    <div class="row">
+                                                        <div class="col-md-12" style="overflow-x:auto">
+                                                            <pre id="response_headers51"></pre>
+                                                            <pre id="response51"></pre>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>返回参数</strong></div>
+                                                <div class="panel-body">
+                                                                                                        无
+                                                                                                    </div>
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div><!-- #sandbox -->
+
+                                <div class="tab-pane" id="sample51">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                            <pre id="sample_response51">无</pre>
+                                        </div>
+                                    </div>
+                                </div><!-- #sample -->
+
+                            </div><!-- .tab-content -->
+                        </div>
+                    </div>
+                </div>
+                                <div class="panel panel-default">
+                    <div class="panel-heading" id="heading-40">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion39" href="#collapseOne39"> 加入购物车 <span class="text-muted">/api/user/addcar</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion40" href="#collapseOne40"> 删除购物车商品 <span class="text-muted">/api/user/delcar</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne39" class="panel-collapse collapse">
+                    <div id="collapseOne40" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab39">
-                                <li class="active"><a href="#info39" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox39" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample39" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab40">
+                                <li class="active"><a href="#info40" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox40" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample40" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info39">
+                                <div class="tab-pane active" id="info40">
                                     <div class="well">
-                                        加入购物车                                    </div>
+                                        删除购物车商品                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>Headers</strong></div>
                                         <div class="panel-body">
@@ -3632,16 +3636,10 @@
                                                 </thead>
                                                 <tbody>
                                                                                                         <tr>
-                                                        <td>pic_id</td>
-                                                        <td>inter</td>
-                                                        <td>否</td>
-                                                        <td>图片ID</td>
-                                                    </tr>
-                                                                                                        <tr>
-                                                        <td>video_id</td>
+                                                        <td>ids[]</td>
                                                         <td>inter</td>
-                                                        <td>否</td>
-                                                        <td>视频ID</td>
+                                                        <td>是</td>
+                                                        <td>购物车ID</td>
                                                     </tr>
                                                                                                     </tbody>
                                             </table>
@@ -3654,7 +3652,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox39">
+                                <div class="tab-pane" id="sandbox40">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -3671,18 +3669,14 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/addcar" method="POST" name="form39" id="form39">
-                                                                                                                <div class="form-group">
-                                                            <label class="control-label" for="pic_id">pic_id</label>
-                                                            <input type="inter" class="form-control input-sm" id="pic_id"  placeholder="图片ID" name="pic_id">
-                                                        </div>
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/delcar" method="POST" name="form40" id="form40">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="video_id">video_id</label>
-                                                            <input type="inter" class="form-control input-sm" id="video_id"  placeholder="视频ID" name="video_id">
+                                                            <label class="control-label" for="ids[]">ids[]</label>
+                                                            <input type="inter" class="form-control input-sm" id="ids[]" required placeholder="购物车ID" name="ids[]">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="39">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="39">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="40">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="40">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -3692,8 +3686,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers39"></pre>
-                                                            <pre id="response39"></pre>
+                                                            <pre id="response_headers40"></pre>
+                                                            <pre id="response40"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -3708,10 +3702,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample39">
+                                <div class="tab-pane" id="sample40">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response39">{
+                                            <pre id="sample_response40">{
     "code": 1,
     "msg": "成功",
     "time": "1571492001",
@@ -3725,26 +3719,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-51">
+                    <div class="panel-heading" id="heading-52">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion51" href="#collapseOne51"> 消费记录 <span class="text-muted">/api/user/payhistory</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion52" href="#collapseOne52"> 消费记录 <span class="text-muted">/api/user/payhistory</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne51" class="panel-collapse collapse">
+                    <div id="collapseOne52" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab51">
-                                <li class="active"><a href="#info51" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox51" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample51" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab52">
+                                <li class="active"><a href="#info52" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox52" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample52" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info51">
+                                <div class="tab-pane active" id="info52">
                                     <div class="well">
                                         消费记录                                    </div>
                                     <div class="panel panel-default">
@@ -3806,7 +3800,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox51">
+                                <div class="tab-pane" id="sandbox52">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -3823,7 +3817,7 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/payhistory" method="POST" name="form51" id="form51">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/payhistory" method="POST" name="form52" id="form52">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="page">page</label>
                                                             <input type="inter" class="form-control input-sm" id="page"  placeholder="当前页(默认1" name="page">
@@ -3833,8 +3827,8 @@
                                                             <input type="inter" class="form-control input-sm" id="pageNum"  placeholder="每页显示数据个数(默认10)" name="pageNum">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="51">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="51">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="52">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="52">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -3844,8 +3838,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers51"></pre>
-                                                            <pre id="response51"></pre>
+                                                            <pre id="response_headers52"></pre>
+                                                            <pre id="response52"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -3860,10 +3854,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample51">
+                                <div class="tab-pane" id="sample52">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response51">{
+                                            <pre id="sample_response52">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -3887,26 +3881,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-52">
+                    <div class="panel-heading" id="heading-53">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion52" href="#collapseOne52"> 获取sessionkey <span class="text-muted">/api/user/getSessionKey</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion53" href="#collapseOne53"> 获取sessionkey <span class="text-muted">/api/user/getSessionKey</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne52" class="panel-collapse collapse">
+                    <div id="collapseOne53" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab52">
-                                <li class="active"><a href="#info52" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox52" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample52" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab53">
+                                <li class="active"><a href="#info53" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox53" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample53" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info52">
+                                <div class="tab-pane active" id="info53">
                                     <div class="well">
                                         获取sessionkey                                    </div>
                                     <div class="panel panel-default">
@@ -3945,20 +3939,20 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox52">
+                                <div class="tab-pane" id="sandbox53">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getSessionKey" method="POST" name="form52" id="form52">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getSessionKey" method="POST" name="form53" id="form53">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="code">code</label>
                                                             <input type="string" class="form-control input-sm" id="code" required placeholder="code" name="code">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="52">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="52">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="53">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="53">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -3968,8 +3962,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers52"></pre>
-                                                            <pre id="response52"></pre>
+                                                            <pre id="response_headers53"></pre>
+                                                            <pre id="response53"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -3984,10 +3978,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample52">
+                                <div class="tab-pane" id="sample53">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response52">{
+                                            <pre id="sample_response53">{
     "code": 1,
     "msg": "成功",
     "time": "1571492001",
@@ -4004,26 +3998,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-53">
+                    <div class="panel-heading" id="heading-54">
                         <h4 class="panel-title">
                             <span class="label label-success">GET</span>
-                            <a data-toggle="collapse" data-parent="#accordion53" href="#collapseOne53">  <span class="text-muted">/api/user/http_get</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion54" href="#collapseOne54">  <span class="text-muted">/api/user/http_get</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne53" class="panel-collapse collapse">
+                    <div id="collapseOne54" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab53">
-                                <li class="active"><a href="#info53" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox53" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample53" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab54">
+                                <li class="active"><a href="#info54" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox54" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample54" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info53">
+                                <div class="tab-pane active" id="info54">
                                     <div class="well">
                                                                             </div>
                                     <div class="panel panel-default">
@@ -4045,19 +4039,19 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox53">
+                                <div class="tab-pane" id="sandbox54">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/http_get" method="get" name="form53" id="form53">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/http_get" method="get" name="form54" id="form54">
                                                                                                                 <div class="form-group">
                                                             无
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="53">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="53">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="54">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="54">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4067,8 +4061,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers53"></pre>
-                                                            <pre id="response53"></pre>
+                                                            <pre id="response_headers54"></pre>
+                                                            <pre id="response54"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4083,10 +4077,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample53">
+                                <div class="tab-pane" id="sample54">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response53">无</pre>
+                                            <pre id="sample_response54">无</pre>
                                         </div>
                                     </div>
                                 </div><!-- #sample -->
@@ -4096,26 +4090,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-54">
+                    <div class="panel-heading" id="heading-55">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion54" href="#collapseOne54"> 获取用户手机号 <span class="text-muted">/api/user/getMobile</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion55" href="#collapseOne55"> 获取用户手机号 <span class="text-muted">/api/user/getMobile</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne54" class="panel-collapse collapse">
+                    <div id="collapseOne55" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab54">
-                                <li class="active"><a href="#info54" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox54" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample54" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab55">
+                                <li class="active"><a href="#info55" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox55" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample55" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info54">
+                                <div class="tab-pane active" id="info55">
                                     <div class="well">
                                         获取用户手机号                                    </div>
                                     <div class="panel panel-default">
@@ -4166,13 +4160,13 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox54">
+                                <div class="tab-pane" id="sandbox55">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getMobile" method="POST" name="form54" id="form54">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/getMobile" method="POST" name="form55" id="form55">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="sessionKey">sessionKey</label>
                                                             <input type="string" class="form-control input-sm" id="sessionKey" required placeholder="sessionkey" name="sessionKey">
@@ -4186,8 +4180,8 @@
                                                             <input type="string" class="form-control input-sm" id="iv" required placeholder="iv" name="iv">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="54">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="54">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="55">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="55">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4197,8 +4191,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers54"></pre>
-                                                            <pre id="response54"></pre>
+                                                            <pre id="response_headers55"></pre>
+                                                            <pre id="response55"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4213,10 +4207,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample54">
+                                <div class="tab-pane" id="sample55">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response54">{
+                                            <pre id="sample_response55">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -4233,26 +4227,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-55">
+                    <div class="panel-heading" id="heading-56">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion55" href="#collapseOne55"> 绑定用户手机号 <span class="text-muted">/api/user/phone</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion56" href="#collapseOne56"> 绑定用户手机号 <span class="text-muted">/api/user/phone</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne55" class="panel-collapse collapse">
+                    <div id="collapseOne56" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab55">
-                                <li class="active"><a href="#info55" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox55" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample55" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab56">
+                                <li class="active"><a href="#info56" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox56" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample56" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info55">
+                                <div class="tab-pane active" id="info56">
                                     <div class="well">
                                         绑定用户手机号                                    </div>
                                     <div class="panel panel-default">
@@ -4308,7 +4302,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox55">
+                                <div class="tab-pane" id="sandbox56">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4325,14 +4319,14 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/phone" method="POST" name="form55" id="form55">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/phone" method="POST" name="form56" id="form56">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="phone">phone</label>
                                                             <input type="string" class="form-control input-sm" id="phone" required placeholder="手机号" name="phone">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="55">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="55">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="56">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="56">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4342,8 +4336,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers55"></pre>
-                                                            <pre id="response55"></pre>
+                                                            <pre id="response_headers56"></pre>
+                                                            <pre id="response56"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4358,10 +4352,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample55">
+                                <div class="tab-pane" id="sample56">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response55">{
+                                            <pre id="sample_response56">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -4375,26 +4369,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-56">
+                    <div class="panel-heading" id="heading-57">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion56" href="#collapseOne56"> 填写发票信息 <span class="text-muted">/api/user/invoice</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion57" href="#collapseOne57"> 填写发票信息 <span class="text-muted">/api/user/invoice</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne56" class="panel-collapse collapse">
+                    <div id="collapseOne57" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab56">
-                                <li class="active"><a href="#info56" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox56" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample56" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab57">
+                                <li class="active"><a href="#info57" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox57" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample57" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info56">
+                                <div class="tab-pane active" id="info57">
                                     <div class="well">
                                         填写发票信息                                    </div>
                                     <div class="panel panel-default">
@@ -4504,7 +4498,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox56">
+                                <div class="tab-pane" id="sandbox57">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4521,7 +4515,7 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/invoice" method="POST" name="form56" id="form56">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/invoice" method="POST" name="form57" id="form57">
                                                                                                                 <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">
@@ -4563,8 +4557,8 @@
                                                             <input type="string" class="form-control input-sm" id="linkadress" required placeholder="收件人地址" name="linkadress">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="56">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="56">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="57">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="57">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4574,8 +4568,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers56"></pre>
-                                                            <pre id="response56"></pre>
+                                                            <pre id="response_headers57"></pre>
+                                                            <pre id="response57"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4590,10 +4584,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample56">
+                                <div class="tab-pane" id="sample57">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response56">{
+                                            <pre id="sample_response57">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -4607,26 +4601,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-57">
+                    <div class="panel-heading" id="heading-58">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion57" href="#collapseOne57"> 填写授权书信息 <span class="text-muted">/api/user/show</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion58" href="#collapseOne58"> 填写授权书信息 <span class="text-muted">/api/user/show</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne57" class="panel-collapse collapse">
+                    <div id="collapseOne58" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab57">
-                                <li class="active"><a href="#info57" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox57" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample57" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab58">
+                                <li class="active"><a href="#info58" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox58" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample58" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info57">
+                                <div class="tab-pane active" id="info58">
                                     <div class="well">
                                         填写授权书信息                                    </div>
                                     <div class="panel panel-default">
@@ -4706,7 +4700,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox57">
+                                <div class="tab-pane" id="sandbox58">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4723,7 +4717,7 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/show" method="POST" name="form57" id="form57">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/show" method="POST" name="form58" id="form58">
                                                                                                                 <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">
@@ -4745,8 +4739,8 @@
                                                             <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱地址" name="email">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="57">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="57">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="58">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="58">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4756,8 +4750,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers57"></pre>
-                                                            <pre id="response57"></pre>
+                                                            <pre id="response_headers58"></pre>
+                                                            <pre id="response58"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4772,10 +4766,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample57">
+                                <div class="tab-pane" id="sample58">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response57">{
+                                            <pre id="sample_response58">{
             "code": 1,
             "msg": "成功",
             "time": "1571492001",
@@ -4789,26 +4783,26 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-58">
+                    <div class="panel-heading" id="heading-59">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion58" href="#collapseOne58"> 投诉与建议 <span class="text-muted">/api/user/suggest</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion59" href="#collapseOne59"> 投诉与建议 <span class="text-muted">/api/user/suggest</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne58" class="panel-collapse collapse">
+                    <div id="collapseOne59" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab58">
-                                <li class="active"><a href="#info58" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox58" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample58" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab59">
+                                <li class="active"><a href="#info59" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox59" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample59" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info58">
+                                <div class="tab-pane active" id="info59">
                                     <div class="well">
                                         投诉与建议                                    </div>
                                     <div class="panel panel-default">
@@ -4870,7 +4864,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox58">
+                                <div class="tab-pane" id="sandbox59">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -4887,7 +4881,7 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/suggest" method="POST" name="form58" id="form58">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/suggest" method="POST" name="form59" id="form59">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="title">title</label>
                                                             <input type="string" class="form-control input-sm" id="title" required placeholder="标题" name="title">
@@ -4897,8 +4891,8 @@
                                                             <input type="string" class="form-control input-sm" id="content" required placeholder="内容" name="content">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="58">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="58">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="59">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="59">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -4908,8 +4902,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers58"></pre>
-                                                            <pre id="response58"></pre>
+                                                            <pre id="response_headers59"></pre>
+                                                            <pre id="response59"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -4924,10 +4918,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample58">
+                                <div class="tab-pane" id="sample59">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response58">{
+                                            <pre id="sample_response59">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -4941,28 +4935,28 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-40">
+                    <div class="panel-heading" id="heading-41">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion40" href="#collapseOne40"> 删除购物车商品 <span class="text-muted">/api/user/delcar</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion41" href="#collapseOne41"> 创建图片订单 <span class="text-muted">/api/user/picorder</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne40" class="panel-collapse collapse">
+                    <div id="collapseOne41" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab40">
-                                <li class="active"><a href="#info40" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox40" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample40" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab41">
+                                <li class="active"><a href="#info41" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox41" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample41" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info40">
+                                <div class="tab-pane active" id="info41">
                                     <div class="well">
-                                        删除购物车商品                                    </div>
+                                        创建图片订单                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>Headers</strong></div>
                                         <div class="panel-body">
@@ -5000,10 +4994,16 @@
                                                 </thead>
                                                 <tbody>
                                                                                                         <tr>
-                                                        <td>ids[]</td>
+                                                        <td>pic_id</td>
                                                         <td>inter</td>
                                                         <td>是</td>
-                                                        <td>购物车ID</td>
+                                                        <td>图片ID</td>
+                                                    </tr>
+                                                                                                        <tr>
+                                                        <td>total</td>
+                                                        <td>float</td>
+                                                        <td>是</td>
+                                                        <td>价格</td>
                                                     </tr>
                                                                                                     </tbody>
                                             </table>
@@ -5016,7 +5016,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox40">
+                                <div class="tab-pane" id="sandbox41">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -5033,14 +5033,18 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/delcar" method="POST" name="form40" id="form40">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/picorder" method="POST" name="form41" id="form41">
                                                                                                                 <div class="form-group">
-                                                            <label class="control-label" for="ids[]">ids[]</label>
-                                                            <input type="inter" class="form-control input-sm" id="ids[]" required placeholder="购物车ID" name="ids[]">
+                                                            <label class="control-label" for="pic_id">pic_id</label>
+                                                            <input type="inter" class="form-control input-sm" id="pic_id" required placeholder="图片ID" name="pic_id">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="40">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="40">重置</button>
+                                                            <label class="control-label" for="total">total</label>
+                                                            <input type="float" class="form-control input-sm" id="total" required placeholder="价格" name="total">
+                                                        </div>
+                                                                                                                <div class="form-group">
+                                                            <button type="submit" class="btn btn-success send" rel="41">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="41">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -5050,8 +5054,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers40"></pre>
-                                                            <pre id="response40"></pre>
+                                                            <pre id="response_headers41"></pre>
+                                                            <pre id="response41"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -5066,13 +5070,16 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample40">
+                                <div class="tab-pane" id="sample41">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response40">{
+                                            <pre id="sample_response41">{
     "code": 1,
     "msg": "成功",
     "time": "1571492001",
+    "data": {
+        "order_id"://订单ID
+    }
     }</pre>
                                         </div>
                                     </div>
@@ -5083,28 +5090,28 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-38">
+                    <div class="panel-heading" id="heading-39">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion38" href="#collapseOne38"> 购物车列表 <span class="text-muted">/api/user/car</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion39" href="#collapseOne39"> 加入购物车 <span class="text-muted">/api/user/addcar</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne38" class="panel-collapse collapse">
+                    <div id="collapseOne39" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab38">
-                                <li class="active"><a href="#info38" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox38" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample38" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab39">
+                                <li class="active"><a href="#info39" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox39" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample39" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info38">
+                                <div class="tab-pane active" id="info39">
                                     <div class="well">
-                                        购物车列表                                    </div>
+                                        加入购物车                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>Headers</strong></div>
                                         <div class="panel-body">
@@ -5131,7 +5138,30 @@
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>参数</strong></div>
                                         <div class="panel-body">
-                                                                                        无
+                                                                                        <table class="table table-hover">
+                                                <thead>
+                                                    <tr>
+                                                        <th>名称</th>
+                                                        <th>类型</th>
+                                                        <th>必选</th>
+                                                        <th>描述</th>
+                                                    </tr>
+                                                </thead>
+                                                <tbody>
+                                                                                                        <tr>
+                                                        <td>pic_id</td>
+                                                        <td>inter</td>
+                                                        <td>否</td>
+                                                        <td>图片ID</td>
+                                                    </tr>
+                                                                                                        <tr>
+                                                        <td>video_id</td>
+                                                        <td>inter</td>
+                                                        <td>否</td>
+                                                        <td>视频ID</td>
+                                                    </tr>
+                                                                                                    </tbody>
+                                            </table>
                                                                                     </div>
                                     </div>
                                     <div class="panel panel-default">
@@ -5141,7 +5171,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox38">
+                                <div class="tab-pane" id="sandbox39">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -5158,13 +5188,18 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/car" method="POST" name="form38" id="form38">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/addcar" method="POST" name="form39" id="form39">
                                                                                                                 <div class="form-group">
-                                                            无
+                                                            <label class="control-label" for="pic_id">pic_id</label>
+                                                            <input type="inter" class="form-control input-sm" id="pic_id"  placeholder="图片ID" name="pic_id">
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="38">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="38">重置</button>
+                                                            <label class="control-label" for="video_id">video_id</label>
+                                                            <input type="inter" class="form-control input-sm" id="video_id"  placeholder="视频ID" name="video_id">
+                                                        </div>
+                                                                                                                <div class="form-group">
+                                                            <button type="submit" class="btn btn-success send" rel="39">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="39">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -5174,8 +5209,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers38"></pre>
-                                                            <pre id="response38"></pre>
+                                                            <pre id="response_headers39"></pre>
+                                                            <pre id="response39"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -5190,42 +5225,13 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample38">
+                                <div class="tab-pane" id="sample39">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response38">{
+                                            <pre id="sample_response39">{
     "code": 1,
     "msg": "成功",
     "time": "1571492001",
-    "data": {
-        "id"://购物车ID
-          "user_id"://用户ID
-          "pic_id"://图片的ID
-          "video_id"://视频的ID
-          "pic":[
-                "id"://图片ID
-               "title"://图片标题
-               "thumbnail"://缩略图
-               "url"://高清百度云盘地址
-               "price"://普通价格
-               "vip_price"://vip价格
-          ],
-          "video":[
-               "id"://视频ID
-               "title"://视频标题
-               "thumbnail"://视频封面图片
-               "video"://视频地址
-               "two_url"://2K视频云盘地址
-               "four_url"://4k视频云盘地址
-               "eight_url"://8k视频云盘地址
-               "price"://2k视频原价格
-               "four_price"://4k视频原价格
-               "eight_price"://8k视频原价格
-               "vip_price"://2k会员价格
-               "four_vipprice"://4k会员价格
-               "eight_vipprice"://8k会员价格
-          ]
-    }
     }</pre>
                                         </div>
                                     </div>
@@ -6852,28 +6858,28 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-37">
+                    <div class="panel-heading" id="heading-38">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion37" href="#collapseOne37"> 会员须知 <span class="text-muted">/api/user/vipdetail</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion38" href="#collapseOne38"> 购物车列表 <span class="text-muted">/api/user/car</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne37" class="panel-collapse collapse">
+                    <div id="collapseOne38" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab37">
-                                <li class="active"><a href="#info37" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox37" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample37" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab38">
+                                <li class="active"><a href="#info38" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox38" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample38" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info37">
+                                <div class="tab-pane active" id="info38">
                                     <div class="well">
-                                        会员须知                                    </div>
+                                        购物车列表                                    </div>
                                     <div class="panel panel-default">
                                         <div class="panel-heading"><strong>Headers</strong></div>
                                         <div class="panel-body">
@@ -6910,7 +6916,7 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox37">
+                                <div class="tab-pane" id="sandbox38">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
@@ -6927,13 +6933,13 @@
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/vipdetail" method="POST" name="form37" id="form37">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/car" method="POST" name="form38" id="form38">
                                                                                                                 <div class="form-group">
                                                             无
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="37">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="37">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="38">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="38">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -6943,8 +6949,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers37"></pre>
-                                                            <pre id="response37"></pre>
+                                                            <pre id="response_headers38"></pre>
+                                                            <pre id="response38"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -6959,15 +6965,41 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample37">
+                                <div class="tab-pane" id="sample38">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response37">{
+                                            <pre id="sample_response38">{
     "code": 1,
     "msg": "成功",
     "time": "1571492001",
     "data": {
-    "text":       //会员须知内容
+        "id"://购物车ID
+          "user_id"://用户ID
+          "pic_id"://图片的ID
+          "video_id"://视频的ID
+          "pic":[
+                "id"://图片ID
+               "title"://图片标题
+               "thumbnail"://缩略图
+               "url"://高清百度云盘地址
+               "price"://普通价格
+               "vip_price"://vip价格
+          ],
+          "video":[
+               "id"://视频ID
+               "title"://视频标题
+               "thumbnail"://视频封面图片
+               "video"://视频地址
+               "two_url"://2K视频云盘地址
+               "four_url"://4k视频云盘地址
+               "eight_url"://8k视频云盘地址
+               "price"://2k视频原价格
+               "four_price"://4k视频原价格
+               "eight_price"://8k视频原价格
+               "vip_price"://2k会员价格
+               "four_vipprice"://4k会员价格
+               "eight_vipprice"://8k会员价格
+          ]
     }
     }</pre>
                                         </div>
@@ -8144,26 +8176,153 @@
                     </div>
                 </div>
                                 <div class="panel panel-default">
-                    <div class="panel-heading" id="heading-59">
+                    <div class="panel-heading" id="heading-37">
                         <h4 class="panel-title">
                             <span class="label label-primary">POST</span>
-                            <a data-toggle="collapse" data-parent="#accordion59" href="#collapseOne59"> 切换数值 <span class="text-muted">/api/user/change</span></a>
+                            <a data-toggle="collapse" data-parent="#accordion37" href="#collapseOne37"> 会员须知 <span class="text-muted">/api/user/vipdetail</span></a>
                         </h4>
                     </div>
-                    <div id="collapseOne59" class="panel-collapse collapse">
+                    <div id="collapseOne37" class="panel-collapse collapse">
                         <div class="panel-body">
 
                             <!-- Nav tabs -->
-                            <ul class="nav nav-tabs" id="doctab59">
-                                <li class="active"><a href="#info59" data-toggle="tab">基础信息</a></li>
-                                <li><a href="#sandbox59" data-toggle="tab">在线测试</a></li>
-                                <li><a href="#sample59" data-toggle="tab">返回示例</a></li>
+                            <ul class="nav nav-tabs" id="doctab37">
+                                <li class="active"><a href="#info37" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox37" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample37" data-toggle="tab">返回示例</a></li>
                             </ul>
 
                             <!-- Tab panes -->
                             <div class="tab-content">
 
-                                <div class="tab-pane active" id="info59">
+                                <div class="tab-pane active" id="info37">
+                                    <div class="well">
+                                        会员须知                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>Headers</strong></div>
+                                        <div class="panel-body">
+                                                                                        <table class="table table-hover">
+                                                <thead>
+                                                    <tr>
+                                                        <th>名称</th>
+                                                        <th>类型</th>
+                                                        <th>必选</th>
+                                                        <th>描述</th>
+                                                    </tr>
+                                                </thead>
+                                                <tbody>
+                                                                                                        <tr>
+                                                        <td>token</td>
+                                                        <td>string</td>
+                                                        <td>是</td>
+                                                        <td>请求的Token</td>
+                                                    </tr>
+                                                                                                    </tbody>
+                                            </table>
+                                                                                    </div>
+                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>参数</strong></div>
+                                        <div class="panel-body">
+                                                                                        无
+                                                                                    </div>
+                                    </div>
+                                    <div class="panel panel-default">
+                                        <div class="panel-heading"><strong>正文</strong></div>
+                                        <div class="panel-body">
+                                            无                                        </div>
+                                    </div>
+                                </div><!-- #info -->
+
+                                <div class="tab-pane" id="sandbox37">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                                                                        <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>Headers</strong></div>
+                                                <div class="panel-body">
+                                                    <div class="headers">
+                                                                                                                <div class="form-group">
+                                                            <label class="control-label" for="token">token</label>
+                                                            <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
+                                                        </div>
+                                                                                                            </div>
+                                                </div>
+                                            </div>
+                                                                                        <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>参数</strong></div>
+                                                <div class="panel-body">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/vipdetail" method="POST" name="form37" id="form37">
+                                                                                                                <div class="form-group">
+                                                            无
+                                                        </div>
+                                                                                                                <div class="form-group">
+                                                            <button type="submit" class="btn btn-success send" rel="37">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="37">重置</button>
+                                                        </div>
+                                                    </form>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>响应输出</strong></div>
+                                                <div class="panel-body">
+                                                    <div class="row">
+                                                        <div class="col-md-12" style="overflow-x:auto">
+                                                            <pre id="response_headers37"></pre>
+                                                            <pre id="response37"></pre>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                            <div class="panel panel-default">
+                                                <div class="panel-heading"><strong>返回参数</strong></div>
+                                                <div class="panel-body">
+                                                                                                        无
+                                                                                                    </div>
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div><!-- #sandbox -->
+
+                                <div class="tab-pane" id="sample37">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                            <pre id="sample_response37">{
+    "code": 1,
+    "msg": "成功",
+    "time": "1571492001",
+    "data": {
+    "text":       //会员须知内容
+    }
+    }</pre>
+                                        </div>
+                                    </div>
+                                </div><!-- #sample -->
+
+                            </div><!-- .tab-content -->
+                        </div>
+                    </div>
+                </div>
+                                <div class="panel panel-default">
+                    <div class="panel-heading" id="heading-60">
+                        <h4 class="panel-title">
+                            <span class="label label-primary">POST</span>
+                            <a data-toggle="collapse" data-parent="#accordion60" href="#collapseOne60"> 切换数值 <span class="text-muted">/api/user/change</span></a>
+                        </h4>
+                    </div>
+                    <div id="collapseOne60" class="panel-collapse collapse">
+                        <div class="panel-body">
+
+                            <!-- Nav tabs -->
+                            <ul class="nav nav-tabs" id="doctab60">
+                                <li class="active"><a href="#info60" data-toggle="tab">基础信息</a></li>
+                                <li><a href="#sandbox60" data-toggle="tab">在线测试</a></li>
+                                <li><a href="#sample60" data-toggle="tab">返回示例</a></li>
+                            </ul>
+
+                            <!-- Tab panes -->
+                            <div class="tab-content">
+
+                                <div class="tab-pane active" id="info60">
                                     <div class="well">
                                         切换数值                                    </div>
                                     <div class="panel panel-default">
@@ -8185,19 +8344,19 @@
                                     </div>
                                 </div><!-- #info -->
 
-                                <div class="tab-pane" id="sandbox59">
+                                <div class="tab-pane" id="sandbox60">
                                     <div class="row">
                                         <div class="col-md-12">
                                                                                         <div class="panel panel-default">
                                                 <div class="panel-heading"><strong>参数</strong></div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/change" method="POST" name="form59" id="form59">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/change" method="POST" name="form60" id="form60">
                                                                                                                 <div class="form-group">
                                                             无
                                                         </div>
                                                                                                                 <div class="form-group">
-                                                            <button type="submit" class="btn btn-success send" rel="59">提交</button>
-                                                            <button type="reset" class="btn btn-info" rel="59">重置</button>
+                                                            <button type="submit" class="btn btn-success send" rel="60">提交</button>
+                                                            <button type="reset" class="btn btn-info" rel="60">重置</button>
                                                         </div>
                                                     </form>
                                                 </div>
@@ -8207,8 +8366,8 @@
                                                 <div class="panel-body">
                                                     <div class="row">
                                                         <div class="col-md-12" style="overflow-x:auto">
-                                                            <pre id="response_headers59"></pre>
-                                                            <pre id="response59"></pre>
+                                                            <pre id="response_headers60"></pre>
+                                                            <pre id="response60"></pre>
                                                         </div>
                                                     </div>
                                                 </div>
@@ -8223,10 +8382,10 @@
                                     </div>
                                 </div><!-- #sandbox -->
 
-                                <div class="tab-pane" id="sample59">
+                                <div class="tab-pane" id="sample60">
                                     <div class="row">
                                         <div class="col-md-12">
-                                            <pre id="sample_response59">{
+                                            <pre id="sample_response60">{
         "code": 1,
         "msg": "成功",
         "time": "1571492001",
@@ -8245,7 +8404,7 @@
 
             <div class="row mt0 footer">
                 <div class="col-md-6" align="left">
-                    Generated on 2020-08-13 17:31:26                </div>
+                    Generated on 2020-08-18 18:59:28                </div>
                 <div class="col-md-6" align="right">
                     <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
                 </div>
--
libgit2 0.24.0