From 474e80dd30480f18bf1855782b135787da44ec82 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Wed, 3 Dec 2025 10:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/agent/admin/controllers/pingan/receiver/Clues.php b/agent/admin/controllers/pingan/receiver/Clues.php index cf120396..bdb8d044 100644 --- a/agent/admin/controllers/pingan/receiver/Clues.php +++ b/agent/admin/controllers/pingan/receiver/Clues.php @@ -151,6 +151,8 @@ class Clues extends BaseController if ($id) { //消息推送给管理后台 $admin_id = $clues['admin_id']; + $logfile = "test.txt"; + debug_log("线索:" . json_encode($clues, JSON_UNESCAPED_UNICODE), $logfile); if (!$admin_id) { $where = [ 'clue_id' => $clues['id'], @@ -159,7 +161,9 @@ class Clues extends BaseController ]; $firstRow = $this->mdOplogs->select($where, 'id asc', 1, 1); $admin_id = $firstRow ? $firstRow[0]['uid'] : 0; + debug_log("查找到日志:" . json_encode($firstRow, JSON_UNESCAPED_UNICODE), $logfile); } + debug_log("发送admin_id:" . $admin_id, $logfile); if ($admin_id) { $params = [ 'platform' => Sys_notice_model::PLAT_FORM_ADMIN,