瀏覽代碼

提现限制

Kirin 2 年之前
父節點
當前提交
5368f69fdb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/model/store/StoreProduct.php

+ 1 - 1
app/admin/model/store/StoreProduct.php

@@ -85,7 +85,7 @@ class StoreProduct extends BaseModel
                 $model = $model->where('store_name|keyword|id', 'LIKE', "%$where[store_name]%");
             }
             if (isset($where['bar_code']) && $where['bar_code'] != '') {
-                $product_id = StoreProductAttrValue::where('bar_code', $where['bar_code'])->value('product_id');
+                $product_id = StoreProductAttrValue::where('bar_code', $where['bar_code'])->column('product_id');
                 if ($product_id) {
                     $where['product_id'] = $product_id;
                 } else {