Browse Source

花材图片显示

林琦海 5 năm trước cách đây
mục cha
commit
3152e72a8f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app-ghs/controllers/ProductController.php

+ 1 - 0
app-ghs/controllers/ProductController.php

@@ -96,6 +96,7 @@ class ProductController extends BaseController
         $showPage = Yii::$app->request->get('showPage', 0);
         if ($showPage) {
             $respond = ProductClass::getList("*", $where, "inTurn desc");
+            $respond['list'] = ProductClass::groupProductInfo($respond['list']);
             util::success($respond);
         }
         $data = ProductClass::getAllByCondition($where, "inTurn desc", "*");