This commit is contained in:
oldHome 2025-06-27 19:35:05 +08:00
parent 55e1aec664
commit ec39c89e40

View File

@ -326,7 +326,9 @@ class AdminController extends PublicController
public function pubMessage() public function pubMessage()
{ {
if ($this->tokenShop_id != C('powerId')) { if ($this->tokenShop_id != C('powerId')) {
$dataList['shop_id'] = $_REQUEST['shop_id']; //非总管理员 $dataList['shop_id'] = $this->tokenShop_id; //非总管理员
} else {
$dataList['shop_id'] = $_REQUEST['shop_id'];
} }
// 参数校验 // 参数校验