From dd9cc1707e1aff855024adfae6f479ee5100e96b Mon Sep 17 00:00:00 2001 From: oldHome Date: Fri, 27 Jun 2025 19:41:27 +0800 Subject: [PATCH] test --- FlyCube/MpApi/Controller/AdminController.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FlyCube/MpApi/Controller/AdminController.class.php b/FlyCube/MpApi/Controller/AdminController.class.php index db683c6..b63105b 100644 --- a/FlyCube/MpApi/Controller/AdminController.class.php +++ b/FlyCube/MpApi/Controller/AdminController.class.php @@ -326,9 +326,9 @@ class AdminController extends PublicController public function pubMessage() { if ($this->tokenShop_id != C('powerId')) { - $dataList['shop_id'] = $this->tokenShop_id; //非总管理员 + $shop_id = $this->tokenShop_id; //非总管理员 } else { - $dataList['shop_id'] = $_REQUEST['shop_id']; + $shop_id = $_REQUEST['shop_id']; } // 参数校验 @@ -347,6 +347,7 @@ class AdminController extends PublicController $dataList = array(); foreach ($idArr as $admin_id) { $dataList[] = array( + 'shop_id' => $shop_id, 'by_admin_id' => $this->admin_id, 'admin_id' => intval($admin_id), 'message' => $message,