shish 3 weeks ago
parent
commit
f2b790e568
1 changed files with 2 additions and 2 deletions
  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 字段筛选展示位置