Browse Source

一些功能

Kirin 3 years ago
parent
commit
a2daba8c64
1 changed files with 5 additions and 6 deletions
  1. 5 6
      app/models/store/StoreExchangeOrder.php

+ 5 - 6
app/models/store/StoreExchangeOrder.php

@@ -104,17 +104,16 @@ class StoreExchangeOrder extends BaseModel
             $_info = $item['_info'];
             $goodsName = [];
             foreach ($_info as $k => $v) {
-                dump($v);
                 $suk = '';
-                if (isset($v['productInfo']['attrInfo'])) {
-                    if (isset($v['productInfo']['attrInfo']['suk'])) {
-                        $suk = '(' . $v['productInfo']['attrInfo']['suk'] . ')';
+                if (isset($v['cart_info']['productInfo']['attrInfo'])) {
+                    if (isset($v['cart_info']['productInfo']['attrInfo']['suk'])) {
+                        $suk = '(' . $v['cart_info']['productInfo']['attrInfo']['suk'] . ')';
                     }
                 }
                 $goodsName[] = implode(
-                    [$v['productInfo']['store_name'],
+                    [$v['cart_info']['productInfo']['store_name'],
                         $suk,
-                        "[1 * {$v['truePrice']}]"
+                        "[1 * {$v['cart_info']['truePrice']}]"
                     ], ' ');
             }
             $export[] = [