|
|
@@ -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 字段筛选展示位置
|