From ec39c89e40c4f2a535a702e189efa2de2baaf6b0 Mon Sep 17 00:00:00 2001 From: oldHome Date: Fri, 27 Jun 2025 19:35:05 +0800 Subject: [PATCH] test --- FlyCube/MpApi/Controller/AdminController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']; } // 参数校验