shish 4 năm trước cách đây
mục cha
commit
a8234689dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      console/controllers/ProductController.php

+ 1 - 1
console/controllers/ProductController.php

@@ -63,7 +63,7 @@ class ProductController extends Controller
     // ./yii product/get-img
     public function actionGetImg()
     {
-        $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*');
+        $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*', null, true);
         $arr = [];
         if (!empty($list)) {
             foreach ($list as $key => $val) {