diff --git a/FlyCube/MpApi/Controller/AdminController.class.php b/FlyCube/MpApi/Controller/AdminController.class.php index 4864c27..db683c6 100644 --- a/FlyCube/MpApi/Controller/AdminController.class.php +++ b/FlyCube/MpApi/Controller/AdminController.class.php @@ -326,7 +326,9 @@ class AdminController extends PublicController public function pubMessage() { 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']; } // 参数校验