Kirin преди 3 години
родител
ревизия
6c0f8d0bd7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/models/store/StoreExchangeOrder.php

+ 1 - 1
app/models/store/StoreExchangeOrder.php

@@ -58,7 +58,7 @@ class StoreExchangeOrder extends BaseModel
             $_info = StoreOrderCartInfo::where('cart_id', $v['cart_id'])->field('cart_info')->select();
             $_info = StoreOrderCartInfo::where('cart_id', $v['cart_id'])->field('cart_info')->select();
             $_info = count($_info) ? $_info->toArray() : [];
             $_info = count($_info) ? $_info->toArray() : [];
             foreach ($_info as $k => $vv) {
             foreach ($_info as $k => $vv) {
-                $cart_info = json_decode($vv['cart_info'], true);
+                $cart_info = $vv['cart_info'];
                 if (!isset($cart_info['productInfo'])) $cart_info['productInfo'] = [];
                 if (!isset($cart_info['productInfo'])) $cart_info['productInfo'] = [];
                 $_info[$k]['cart_info'] = $cart_info;
                 $_info[$k]['cart_info'] = $cart_info;
                 unset($cart_info);
                 unset($cart_info);