shish 3 лет назад
Родитель
Сommit
b0aa1f744a
1 измененных файлов с 1 добавлено и 10 удалено
  1. 1 10
      app-ghs/controllers/ItemController.php

+ 1 - 10
app-ghs/controllers/ItemController.php

@@ -12,21 +12,12 @@ use Yii;
 class ItemController extends BaseController
 {
 
-    //列出C级价格大于B级的花材 ssh 20221204
-    public function actionErrorPriceList()
-    {
-        $shop = $this->shop;
-        $list = ItemClass::errorPrice($shop);
-        util::success(['list' => $list]);
-    }
-
     //是否有C级价格大于B级的 ssh 20221204
     public function actionGetErrorPrice()
     {
         $shop = $this->shop;
         $list = ItemClass::errorPrice($shop);
-        $has = !empty($list) ? 1 : 0;
-        util::success(['has' => $has]);
+        util::success(['list' => $list]);
     }
 
     //列出所有花材,包括特价花材列表 ssh 20220315