Forráskód Böngészése

Merge branch 'master' of http://98.142.141.184:30008/sin/twong329

joe 4 éve
szülő
commit
93067ea1fe

+ 12 - 2
app/api/controller/order/StoreOrderController.php

@@ -561,17 +561,27 @@ class StoreOrderController
         $group['avatar'] = $user_info['avatar'];
         if (!$cartInfo) return app('json')->fail('评价产品不存在!');
         $orderUid = StoreOrder::getOrderInfo($cartInfo['oid'], 'uid')['uid'];
-        if ($uid != $orderUid) return app('json')->fail('评价产品不存在!');
+        if ($uid != $orderUid) {
+            return app('json')->fail('评价产品不存在!');
+        }
+
         if (StoreProductReply::be(['oid' => $cartInfo['oid'], 'unique' => $unique]))
             return app('json')->fail('该产品已评价!');
         $group['comment'] = htmlspecialchars(trim($group['comment']));
         if ($group['product_score'] < 1) return app('json')->fail('请为产品评分');
         else if ($group['service_score'] < 1) return app('json')->fail('请为商家服务评分');
+        //
+        $cartInfo['cart_info'] = json_decode($cartInfo['cart_info'], true);
         if ($cartInfo['cart_info']['combination_id']) $productId = $cartInfo['cart_info']['product_id'];
         else if ($cartInfo['cart_info']['seckill_id']) $productId = $cartInfo['cart_info']['product_id'];
         else if ($cartInfo['cart_info']['bargain_id']) $productId = $cartInfo['cart_info']['product_id'];
         else $productId = $cartInfo['product_id'];
-        if ($group['pics']) $group['pics'] = json_encode(is_array($group['pics']) ? $group['pics'] : explode(',', $group['pics']));
+        if ($group['pics']) {
+            $group['pics'] = json_encode(is_array($group['pics']) ? $group['pics'] : explode(',', $group['pics']));
+        } else {
+            $group['pics'] = '';
+        }
+
         $group = array_merge($group, [
             'uid' => $uid,
             'oid' => $cartInfo['oid'],

+ 2 - 0
docs/TODO.md

@@ -24,6 +24,8 @@
 - [x] fix: 后台 API /is_format_attr 传参有 undefined 的
 - [ ] fix: install 过程增加检查 iconv 模块
 - [x] fix: 订单未收货就进入了待评价
+- [] fix: 小程序消息不能删除
+- [] fix: 排行榜 banner 失真
 
 ## 运维支撑
 

+ 15 - 1
docs/已有协议分析/order.md

@@ -219,7 +219,21 @@ params:
 
 returns
 ```json
-
+{
+  "status": 200,
+  "msg": "ok",
+  "data": {
+    "status": "NONE",
+    "result": {
+      "total_price": "78.21",
+      "pay_price": 79.21,
+      "pay_postage": "1.00",
+      "coupon_price": 0,
+      "deduction_price": 0,
+      "SurplusIntegral": 0
+    }
+  }
+}
 ```
 
 ## /order/create/:key 创建订单

+ 0 - 75
docs/已有协议分析/user.json

@@ -1,75 +0,0 @@
-{
-    "uid": 1000,
-    "real_name": "zg",
-    "birthday": 0,
-    "card_id": "",
-    "partner_id": 0,
-    "group_id": 0,
-    "nickname": "zg",
-    "avatar": "http://a.png",
-    "phone": "12122223333",
-    "now_money": "98876.00",
-    "brokerage_price": "200.00",
-    "integral": "30.00",
-    "sign_num": 0,
-    "level": 0,
-    "spread_uid": 0,
-    "spread_time": 0,
-    "user_type": "h5",
-    "is_promoter": 1,
-    "pay_count": 2,
-    "spread_count": 0,
-    "addres": "",
-    "adminid": false,   // 是否是客服
-    "login_type": "",
-    "couponCount": 0,       // 优惠券
-    "like": 0,              // 商品收藏个数
-    "orderStatusNum": {
-        "order_count": 1,   //单支付没有退款 数量
-        "sum_price": 1124,  //订单支付没有退款 支付总金额
-        "unpaid_count": 0,  //订单待支付 数量
-        "unshipped_count": 1,   //订单待发货 数量
-        "received_count": 0,    //订单待收货 数量
-        "evaluated_count": 0,   //订单待评价 数量
-        "complete_count": 0,    // 订单已完成 数量
-        "refund_count": 0   //订单退款数量
-    },
-    "notice": 1,    // 未读消息
-    "recharge": 0,  // 累计充值
-    "orderStatusSum": 1124, // 累计消费
-    "extractTotalPrice": 0, // 累计提现
-    "extractPrice": "200.00",   // 可体现金额
-    "statu": 2,
-    "broken_commission": "0.00",
-    "commissionCount": "200.00",
-    "vip": false,
-    "yesterDay": 0,     // 昨日傭金
-    "recharge_switch": 1,   // 充值开关
-    "switchUserInfo": [
-        {
-            "uid": 1000,
-            "real_name": "zg",
-            "birthday": 0,
-            "card_id": "",
-            "partner_id": 0,
-            "group_id": 0,
-            "nickname": "zg",
-            "avatar": "http://a.png",
-            "phone": "12122223333",
-            "now_money": "98876.00",
-            "brokerage_price": "200.00",
-            "integral": "30.00",
-            "sign_num": 0,
-            "level": 0,
-            "spread_uid": 0,
-            "spread_time": 0,
-            "user_type": "h5",
-            "is_promoter": 1,
-            "pay_count": 2,
-            "spread_count": 0,
-            "addres": "",
-            "adminid": 0,
-            "login_type": ""
-        }
-    ]
-}

+ 1268 - 0
docs/已有协议分析/user.md

@@ -0,0 +1,1268 @@
+# user 相关
+
+## GET /api/user
+
+returns
+```json
+{
+    "uid": 1000,
+    "real_name": "zg",
+    "birthday": 0,
+    "card_id": "",
+    "partner_id": 0,
+    "group_id": 0,
+    "nickname": "zg",
+    "avatar": "http://a.png",
+    "phone": "12122223333",
+    "now_money": "98876.00",
+    "brokerage_price": "200.00",
+    "integral": "30.00",
+    "sign_num": 0,
+    "level": 0,
+    "spread_uid": 0,
+    "spread_time": 0,
+    "user_type": "h5",
+    "is_promoter": 1,
+    "pay_count": 2,
+    "spread_count": 0,
+    "addres": "",
+    "adminid": false,   // 是否是客服
+    "login_type": "",
+    "couponCount": 0,       // 优惠券
+    "like": 0,              // 商品收藏个数
+    "orderStatusNum": {
+        "order_count": 1,   //单支付没有退款 数量
+        "sum_price": 1124,  //订单支付没有退款 支付总金额
+        "unpaid_count": 0,  //订单待支付 数量
+        "unshipped_count": 1,   //订单待发货 数量
+        "received_count": 0,    //订单待收货 数量
+        "evaluated_count": 0,   //订单待评价 数量
+        "complete_count": 0,    // 订单已完成 数量
+        "refund_count": 0   //订单退款数量
+    },
+    "notice": 1,    // 未读消息
+    "recharge": 0,  // 累计充值
+    "orderStatusSum": 1124, // 累计消费
+    "extractTotalPrice": 0, // 累计提现
+    "extractPrice": "200.00",   // 可体现金额
+    "statu": 2,
+    "broken_commission": "0.00",
+    "commissionCount": "200.00",
+    "vip": false,
+    "yesterDay": 0,     // 昨日傭金
+    "recharge_switch": 1,   // 充值开关
+    "switchUserInfo": [
+        {
+            "uid": 1000,
+            "real_name": "zg",
+            "birthday": 0,
+            "card_id": "",
+            "partner_id": 0,
+            "group_id": 0,
+            "nickname": "zg",
+            "avatar": "http://a.png",
+            "phone": "12122223333",
+            "now_money": "98876.00",
+            "brokerage_price": "200.00",
+            "integral": "30.00",
+            "sign_num": 0,
+            "level": 0,
+            "spread_uid": 0,
+            "spread_time": 0,
+            "user_type": "h5",
+            "is_promoter": 1,
+            "pay_count": 2,
+            "spread_count": 0,
+            "addres": "",
+            "adminid": 0,
+            "login_type": ""
+        }
+    ]
+}
+```
+
+## GET menu/user
+
+returns
+```json
+{
+  "status": 200,
+  "msg": "ok",
+  "data": {
+    "routine_my_menus": [
+      {
+        "id": 135,
+        "name": "会员中心",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_user.png",
+        "url": "/pages/user_vip/index",
+        "wap_url": "/user/vip"
+      },
+      {
+        "id": 136,
+        "name": "砍价记录",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_package.png",
+        "url": "/pages/activity/user_goods_bargain_list/index",
+        "wap_url": "/activity/bargain/record"
+      },
+      {
+        "id": 137,
+        "name": "我的推广",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_circle.png",
+        "url": "/pages/user_spread_user/index",
+        "wap_url": "/user/user_promotion"
+      },
+      {
+        "id": 138,
+        "name": "我的余额",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_money.png",
+        "url": "/pages/user_money/index",
+        "wap_url": "/user/account"
+      },
+      {
+        "id": 139,
+        "name": "地址信息",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_location.png",
+        "url": "/pages/user_address_list/index",
+        "wap_url": "/user/add_manage"
+      },
+      {
+        "id": 140,
+        "name": "我的收藏",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_star.png",
+        "url": "/pages/user_goods_collection/index",
+        "wap_url": "/collection"
+      },
+      {
+        "id": 141,
+        "name": "优惠券",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_coupon.png",
+        "url": "/pages/user_coupon/index",
+        "wap_url": "/user/user_coupon"
+      },
+      {
+        "id": 172,
+        "name": "联系客服",
+        "pic": "http://twongstatic.shotshock.shop/icon_m_service.png",
+        "url": "/pages/service/index",
+        "wap_url": "/customer/list"
+      }
+    ]
+  }
+}
+```
+
+## GET order/data 
+
+returns
+
+```json
+{
+  "status": 200,
+  "msg": "ok",
+  "data": {
+    "order_count": 10,
+    "sum_price": 2058.56,
+    "unpaid_count": 0,
+    "unshipped_count": 8,
+    "received_count": 0,
+    "evaluated_count": 1,
+    "complete_count": 1,
+    "refund_count": 0
+  }
+}
+```
+
+## GET order/list?type=0&page=1&limit=10
+
+> type = 0, 1, 2, 3, 4 分别表示 待付款,待发货,待收获,待评价,已完成。
+
+returns
+```json
+
+```
+
+## GET order/list?type=1&page=1&limit=10 待发货
+
+returns
+```json
+{
+  "status": 200,
+  "msg": "ok",
+  "data": [
+    {
+      "add_time": 1631447488,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 17,
+      "order_id": "wx163144748845811537",
+      "pay_price": "195.04",
+      "total_num": 2,
+      "total_price": "194.04",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 34,
+          "type": "product",
+          "product_id": 1014,
+          "product_attr_unique": "e993e6c7",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 1014,
+            "image": "http://twongpic.shotshock.shop/1366220210901153531693.jpg",
+            "price": "158.00",
+            "ot_price": "188.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "100.00",
+            "sales": 0,
+            "stock": 498,
+            "store_name": "颈椎按摩器肩腰部颈部家用电动颈肩按摩仪脖子肩颈劲椎揉捏护颈仪",
+            "unit_name": "个",
+            "is_postage": 0,
+            "cost": "125.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 1014,
+              "suk": "21,蓝色",
+              "stock": 83,
+              "sales": 0,
+              "price": "158.00",
+              "image": "http://twongpic.shotshock.shop/1366220210901153531693.jpg",
+              "unique": "e993e6c7",
+              "cost": "125.00",
+              "bar_code": "1",
+              "ot_price": "188.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 156.42,
+          "vip_truePrice": 1.58,
+          "trueStock": 83,
+          "costPrice": "125.00",
+          "unique": "471c50ad1a156d7256eddfd747d77931",
+          "is_reply": 0,
+          "activity": "",
+          "result": null,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 35,
+          "type": "product",
+          "product_id": 983,
+          "product_attr_unique": "94826cd4",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 983,
+            "image": "http://twongpic.shotshock.shop/ee25a202108310915425532.jpg",
+            "price": "38.00",
+            "ot_price": "45.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "100.00",
+            "sales": 1,
+            "stock": 4619,
+            "store_name": "阳离子打底衫儿童秋冬新款高领德绒保暖内搭上衣无痕随心裁磨毛",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "18.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 983,
+              "suk": "110cm,樱花粉",
+              "stock": 131,
+              "sales": 1,
+              "price": "38.00",
+              "image": "http://twongpic.shotshock.shop/ee25a202108310915425532.jpg",
+              "unique": "94826cd4",
+              "cost": "18.00",
+              "bar_code": "1",
+              "ot_price": "45.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 37.62,
+          "vip_truePrice": 0.38,
+          "trueStock": 131,
+          "costPrice": "18.00",
+          "unique": "b5b0db7f3a77ca4fcf9eca57aa7181ca",
+          "is_reply": 0,
+          "activity": "clr",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-09-12 19:51:28",
+      "_add_time": "2021-09-12 19:51:28",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1631446591,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 16,
+      "order_id": "wx163144659159647112",
+      "pay_price": "79.21",
+      "total_num": 1,
+      "total_price": "78.21",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 33,
+          "type": "product",
+          "product_id": 1019,
+          "product_attr_unique": "69ee3dc8",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 1019,
+            "image": "http://twongpic.shotshock.shop/92775202109011637414034.jpg",
+            "price": "59.00",
+            "ot_price": "79.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "100.00",
+            "sales": 0,
+            "stock": 744,
+            "store_name": "安抚大象抱枕婴儿陪睡布娃娃玩偶大象毛绒玩具公仔儿童生日礼物",
+            "unit_name": "个",
+            "is_postage": 0,
+            "cost": "38.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 1019,
+              "suk": "20,65厘米,灰",
+              "stock": 124,
+              "sales": 0,
+              "price": "79.00",
+              "image": "http://twongpic.shotshock.shop/92775202109011637414034.jpg",
+              "unique": "69ee3dc8",
+              "cost": "55.00",
+              "bar_code": "1",
+              "ot_price": "99.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 78.21,
+          "vip_truePrice": 0.79,
+          "trueStock": 124,
+          "costPrice": "55.00",
+          "unique": "8ce5d989374d216a867cdc8871484b43",
+          "is_reply": 0,
+          "activity": "",
+          "result": null,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-09-12 19:36:31",
+      "_add_time": "2021-09-12 19:36:31",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1631443065,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 14,
+      "order_id": "wx163144306506436296",
+      "pay_price": "95.05",
+      "total_num": 2,
+      "total_price": "94.05",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 29,
+          "type": "product",
+          "product_id": 807,
+          "product_attr_unique": "ee651f6a",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 807,
+            "image": "http://twongpic.shotshock.shop/2733c202108251823249814.jpg",
+            "price": "45.00",
+            "ot_price": "68.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "30.00",
+            "sales": 1,
+            "stock": 207,
+            "store_name": "一次性亲肤婴儿洁面擦脸洗脸巾追觅棉柔巾",
+            "unit_name": "组",
+            "is_postage": 0,
+            "cost": "25.50",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 807,
+              "suk": "20,3包一组,白色",
+              "stock": 52,
+              "sales": 0,
+              "price": "45.00",
+              "image": "http://twongpic.shotshock.shop/2733c202108251823249814.jpg",
+              "unique": "ee651f6a",
+              "cost": "25.50",
+              "bar_code": "12",
+              "ot_price": "68.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 44.55,
+          "vip_truePrice": 0.45,
+          "trueStock": 52,
+          "costPrice": "25.50",
+          "unique": "17eb7ecc4c38e4705361cccd903ad8c6",
+          "is_reply": 0,
+          "activity": "",
+          "result": null,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 28,
+          "type": "product",
+          "product_id": 806,
+          "product_attr_unique": "3130502a",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 806,
+            "image": "http://twongpic.shotshock.shop/b9ac7202108251801258408.jpg",
+            "price": "50.00",
+            "ot_price": "88.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "100.00",
+            "sales": 1,
+            "stock": 803,
+            "store_name": "10MM瑜伽垫eva初学者加厚防滑健身垫跳舞垫男女运动垫毯",
+            "unit_name": "个",
+            "is_postage": 0,
+            "cost": "30.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 806,
+              "suk": "21,蓝",
+              "stock": 133,
+              "sales": 1,
+              "price": "50.00",
+              "image": "http://twongpic.shotshock.shop/b9ac7202108251801258408.jpg",
+              "unique": "3130502a",
+              "cost": "30.00",
+              "bar_code": "11",
+              "ot_price": "88.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 49.5,
+          "vip_truePrice": 0.5,
+          "trueStock": 133,
+          "costPrice": "30.00",
+          "unique": "8e987cf1b2f1f6ffa6a43066798b4b7f",
+          "is_reply": 0,
+          "activity": "",
+          "result": null,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-09-12 18:37:45",
+      "_add_time": "2021-09-12 18:37:45",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1631126850,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 12,
+      "order_id": "wx163112685067148042",
+      "pay_price": "90.10",
+      "total_num": 2,
+      "total_price": "89.10",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 22,
+          "type": "product",
+          "product_id": 6,
+          "product_attr_unique": "44bbb2c4",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 6,
+            "image": "http://twongpicd.shotshock.shop/616344033411/A2.jpg",
+            "price": "10.00",
+            "ot_price": "50.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "100.00",
+            "sales": 0,
+            "stock": 200,
+            "store_name": "肉类休闲零食200g袋装酸辣柠檬无骨鸡爪(买一送一)",
+            "unit_name": "袋",
+            "is_postage": 0,
+            "cost": "2.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 6,
+              "suk": "20,200g,酸辣味(买一送一)",
+              "stock": 100,
+              "sales": 0,
+              "price": "40.00",
+              "image": "http://twongpicd.shotshock.shop/616344033411/A2.jpg",
+              "unique": "44bbb2c4",
+              "cost": "2.00",
+              "bar_code": "1",
+              "ot_price": "50.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 39.6,
+          "vip_truePrice": 0.4,
+          "trueStock": 100,
+          "costPrice": "2.00",
+          "unique": "05a70454516ecd9194c293b0e415777f",
+          "is_reply": 0,
+          "activity": "",
+          "result": null,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 21,
+          "type": "product",
+          "product_id": 73,
+          "product_attr_unique": "5221b324",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 73,
+            "image": "http://twongpicd.shotshock.shop/616344033411/A2.jpg",
+            "price": "50.00",
+            "ot_price": "70.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "56.00",
+            "sales": 2,
+            "stock": 399,
+            "store_name": "尔给polo衫短袖日系运动休闲套装女2020年夏宽松韩版学生两件套",
+            "unit_name": "套",
+            "is_postage": 0,
+            "cost": "1.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 73,
+              "suk": "21,白色",
+              "stock": 100,
+              "sales": 0,
+              "price": "50.00",
+              "image": "http://twongpicd.shotshock.shop/616344033411/A2.jpg",
+              "unique": "5221b324",
+              "cost": "1.00",
+              "bar_code": "",
+              "ot_price": "70.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 49.5,
+          "vip_truePrice": 0.5,
+          "trueStock": 100,
+          "costPrice": "1.00",
+          "unique": "a29d1598024f9e87beab4b98411d48ce",
+          "is_reply": 0,
+          "activity": "clr",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-09-09 02:47:30",
+      "_add_time": "2021-09-09 02:47:30",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1630304745,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 10,
+      "order_id": "wx163030474548336531",
+      "pay_price": "198.02",
+      "total_num": 2,
+      "total_price": "196.02",
+      "pay_postage": "2.00",
+      "total_postage": "2.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 18,
+          "type": "product",
+          "product_id": 46,
+          "product_attr_unique": "66c546fb",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 46,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+            "price": "99.00",
+            "ot_price": "168.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "0.00",
+            "sales": 12,
+            "stock": 788,
+            "store_name": "测试活动商品",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "40.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 46,
+              "suk": "L,红色",
+              "stock": 88,
+              "sales": 12,
+              "price": "99.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+              "unique": "66c546fb",
+              "cost": "40.00",
+              "bar_code": "",
+              "ot_price": "168.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "10.00",
+              "brokerage_two": "5.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 98.01,
+          "vip_truePrice": 0.99,
+          "trueStock": 88,
+          "costPrice": "40.00",
+          "unique": "6e79ed05baec2754e25b4eac73a332d2",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 19,
+          "type": "product",
+          "product_id": 38,
+          "product_attr_unique": "735daac5",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 38,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2019/12/28/471f2447ac8bceb5c8569b9645f39582.jpg",
+            "price": "90.00",
+            "ot_price": "0.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "0.00",
+            "sales": 29,
+            "stock": 33,
+            "store_name": "【轻奢定制名师制版】【CF联名限量典藏版】Sipv纯手工制作男鞋潮流百搭高帮休闲鞋(加绒可选)沙漠灰专柜品质44",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "65.00",
+            "is_sub": 1,
+            "temp_id": 6,
+            "attrInfo": {
+              "product_id": 38,
+              "suk": "白色",
+              "stock": 15,
+              "sales": 15,
+              "price": "99.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2019/12/28/471f2447ac8bceb5c8569b9645f39582.jpg",
+              "unique": "735daac5",
+              "cost": "65.00",
+              "bar_code": "",
+              "ot_price": "0.00",
+              "weight": "1.00",
+              "volume": "0.00",
+              "brokerage": "20.00",
+              "brokerage_two": "10.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 98.01,
+          "vip_truePrice": 0.99,
+          "trueStock": 15,
+          "costPrice": "65.00",
+          "unique": "ab7314887865c4265e896c6e209d1cd6",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-08-30 14:25:45",
+      "_add_time": "2021-08-30 14:25:45",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1630290666,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 9,
+      "order_id": "wx163029066648035703",
+      "pay_price": "198.02",
+      "total_num": 2,
+      "total_price": "196.02",
+      "pay_postage": "2.00",
+      "total_postage": "2.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 16,
+          "type": "product",
+          "product_id": 46,
+          "product_attr_unique": "66c546fb",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 46,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+            "price": "99.00",
+            "ot_price": "168.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "0.00",
+            "sales": 11,
+            "stock": 789,
+            "store_name": "测试活动商品",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "40.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 46,
+              "suk": "L,红色",
+              "stock": 89,
+              "sales": 11,
+              "price": "99.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+              "unique": "66c546fb",
+              "cost": "40.00",
+              "bar_code": "",
+              "ot_price": "168.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "10.00",
+              "brokerage_two": "5.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 98.01,
+          "vip_truePrice": 0.99,
+          "trueStock": 89,
+          "costPrice": "40.00",
+          "unique": "3636638817772e42b59d74cff571fbb3",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 17,
+          "type": "product",
+          "product_id": 38,
+          "product_attr_unique": "735daac5",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 38,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2019/12/28/471f2447ac8bceb5c8569b9645f39582.jpg",
+            "price": "90.00",
+            "ot_price": "0.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "0.00",
+            "sales": 28,
+            "stock": 34,
+            "store_name": "【轻奢定制名师制版】【CF联名限量典藏版】Sipv纯手工制作男鞋潮流百搭高帮休闲鞋(加绒可选)沙漠灰专柜品质44",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "65.00",
+            "is_sub": 1,
+            "temp_id": 6,
+            "attrInfo": {
+              "product_id": 38,
+              "suk": "白色",
+              "stock": 16,
+              "sales": 14,
+              "price": "99.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2019/12/28/471f2447ac8bceb5c8569b9645f39582.jpg",
+              "unique": "735daac5",
+              "cost": "65.00",
+              "bar_code": "",
+              "ot_price": "0.00",
+              "weight": "1.00",
+              "volume": "0.00",
+              "brokerage": "20.00",
+              "brokerage_two": "10.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 98.01,
+          "vip_truePrice": 0.99,
+          "trueStock": 16,
+          "costPrice": "65.00",
+          "unique": "8f53295a73878494e9bc8dd6c3c7104f",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-08-30 10:31:06",
+      "_add_time": "2021-08-30 10:31:06",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1630290528,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 8,
+      "order_id": "wx163029052864215193",
+      "pay_price": "389.00",
+      "total_num": 2,
+      "total_price": "388.00",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 15,
+          "type": "product",
+          "product_id": 65,
+          "product_attr_unique": "dd59b74a",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 65,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/8a0e1c551a3c95a495568449a7b8a1f7.jpg",
+            "price": "289.00",
+            "ot_price": "208.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "280.00",
+            "sales": 0,
+            "stock": 525,
+            "store_name": "男裤2019春夏新款男士休闲裤男韩版弹力修身小脚裤男装裤子青年潮",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "116.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 65,
+              "suk": "M,红色",
+              "stock": 35,
+              "sales": 0,
+              "price": "289.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/8a0e1c551a3c95a495568449a7b8a1f7.jpg",
+              "unique": "dd59b74a",
+              "cost": "116.00",
+              "bar_code": "",
+              "ot_price": "208.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 289,
+          "vip_truePrice": 0,
+          "trueStock": 35,
+          "costPrice": "116.00",
+          "unique": "06409663226af2f3114485aa4e0a23b4",
+          "is_reply": 0,
+          "activity": "clr",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        },
+        {
+          "id": 14,
+          "type": "product",
+          "product_id": 46,
+          "product_attr_unique": "66c546fb",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 46,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+            "price": "99.00",
+            "ot_price": "168.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "0.00",
+            "sales": 10,
+            "stock": 790,
+            "store_name": "测试活动商品",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "40.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 46,
+              "suk": "L,红色",
+              "stock": 90,
+              "sales": 10,
+              "price": "99.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2019/11/23/08efb3e21bee99c130995aebe5781af0.jpg",
+              "unique": "66c546fb",
+              "cost": "40.00",
+              "bar_code": "",
+              "ot_price": "168.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "10.00",
+              "brokerage_two": "5.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 99,
+          "vip_truePrice": 0,
+          "trueStock": 90,
+          "costPrice": "40.00",
+          "unique": "47d1e990583c9c67424d369f3414728e",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-08-30 10:28:48",
+      "_add_time": "2021-08-30 10:28:48",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    },
+    {
+      "add_time": 1626191631,
+      "seckill_id": 0,
+      "bargain_id": 0,
+      "combination_id": 0,
+      "id": 6,
+      "order_id": "wx162619163130682295",
+      "pay_price": "327.00",
+      "total_num": 1,
+      "total_price": "326.00",
+      "pay_postage": "1.00",
+      "total_postage": "1.00",
+      "paid": 1,
+      "status": 0,
+      "refund_status": 0,
+      "pay_type": "yue",
+      "coupon_price": "0.00",
+      "deduction_price": "0.00",
+      "pink_id": 0,
+      "delivery_type": null,
+      "is_del": 0,
+      "shipping_type": 1,
+      "cartInfo": [
+        {
+          "id": 11,
+          "type": "product",
+          "product_id": 62,
+          "product_attr_unique": "7398ffed",
+          "cart_num": 1,
+          "combination_id": 0,
+          "seckill_id": 0,
+          "bargain_id": 0,
+          "productInfo": {
+            "id": 62,
+            "image": "http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/dde87485d40d1cea1a951727af07cb04.jpg",
+            "price": "326.00",
+            "ot_price": "380.00",
+            "vip_price": "0.00",
+            "postage": "0.00",
+            "give_integral": "351.00",
+            "sales": 3,
+            "stock": 358,
+            "store_name": "春季2020年春秋装时尚上衣洋气雪纺衬衫女装新款打底春款女士小衫",
+            "unit_name": "件",
+            "is_postage": 0,
+            "cost": "268.00",
+            "is_sub": 0,
+            "temp_id": 1,
+            "attrInfo": {
+              "product_id": 62,
+              "suk": "M,白色",
+              "stock": 51,
+              "sales": 3,
+              "price": "326.00",
+              "image": "http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/dde87485d40d1cea1a951727af07cb04.jpg",
+              "unique": "7398ffed",
+              "cost": "268.00",
+              "bar_code": "",
+              "ot_price": "380.00",
+              "weight": "0.00",
+              "volume": "0.00",
+              "brokerage": "0.00",
+              "brokerage_two": "0.00",
+              "type": 0,
+              "quota": 0,
+              "quota_show": 0
+            }
+          },
+          "truePrice": 326,
+          "vip_truePrice": 0,
+          "trueStock": 51,
+          "costPrice": "268.00",
+          "unique": "c45147dee729311ef5b5c3003946c48f",
+          "is_reply": 0,
+          "activity": "lucky",
+          "result": 0,
+          "reparation": 0,
+          "mine": 0
+        }
+      ],
+      "_status": {
+        "_type": 1,
+        "_title": "未发货",
+        "_msg": "商家未发货,请耐心等待",
+        "_class": "state-nfh",
+        "_payType": "余额支付"
+      },
+      "_pay_time": "2021-07-13 23:53:51",
+      "_add_time": "2021-07-13 23:53:51",
+      "status_pic": "",
+      "offlinePayStatus": 2
+    }
+  ]
+}
+```
+
+##