From 2b712b035b9e86ee75821dd26309e24206dda26b Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Tue, 2 Dec 2025 17:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B9=B3=E5=AE=89=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E6=8E=A8=E9=80=81=E6=B6=88=E6=81=AF=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/admin/controllers/pingan/receiver/Clues.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/agent/admin/controllers/pingan/receiver/Clues.php b/agent/admin/controllers/pingan/receiver/Clues.php index d7d962b6..4c67e950 100644 --- a/agent/admin/controllers/pingan/receiver/Clues.php +++ b/agent/admin/controllers/pingan/receiver/Clues.php @@ -148,7 +148,16 @@ class Clues extends BaseController $id = $this->mdOplogs->add($addData); if ($id) { //消息推送给管理后台 - if ($clues['admin_id']) { + $admin_id = $clues['admin_id']; + if (!$admin_id) { + $where = [ + 'clue_id' => $clues['id'], + 'uid>' => 0 + ]; + $firstRow = $this->mdOplogs->select($where, 'id asc', 1, 1); + $admin_id = $firstRow ? $firstRow[0]['uid'] : 0; + } + if ($admin_id) { $params = [ 'platform' => Sys_notice_model::PLAT_FORM_ADMIN, 'uid' => $clues['pingan_user_id'],