shish 3 săptămâni în urmă
părinte
comite
0639a42e11
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      app-hd/controllers/GhsController.php

+ 2 - 2
app-hd/controllers/GhsController.php

@@ -504,10 +504,10 @@ class GhsController extends BaseController
         $ghsId = intval($get['ghsId'] ?? 0);
         $ghs = GhsClass::getById($ghsId);
         if(empty($ghs)){
-            util::fail('没有公告信息');
+            util::fail('没有找到批发店');
         }
         if($ghs['ownMainId'] != $this->mainId){
-            util::fail('没有获取到公告');
+            util::fail('不是你的批发店');
         }
         $mainId = $ghs['mainId'] ?? 0;
         // 通用接口返回全部有效公告,前端按 positions 字段筛选展示位置