Browse Source

一些功能

Kirin 3 years ago
parent
commit
7e986e1d0d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/admin/controller/order/StoreOrder.php

+ 1 - 2
app/admin/controller/order/StoreOrder.php

@@ -1161,9 +1161,8 @@ class StoreOrder extends AuthController
         $attrs = [];
         $products = StoreExchange::where('is_del', 0)->where('status', 1)->order('sort DESC,add_time DESC')
             ->select();
-        var_dump($products);
         foreach ($products as $v) {
-            $list = StoreProductAttrValue::where('type', 5)->where('product_id', $v['id']);
+            $list = StoreProductAttrValue::where('type', 5)->where('product_id', $v['product_id']);
             foreach ($list as $vv) {
                 $attrs[] = ['value' => $v['id'] . '|' . $v['product_id'] . '|' . $vv['unique'], 'label' => $v['title'] . '[' . $vv['suk'] . ']' . ':¥' . $vv['price']];
             }