From 19d18141d99dddb8e45e95b53510d7a4ba4f6a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=BE=89?= <1101635162@qq.com> Date: Mon, 4 Nov 2024 18:53:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/b3log/symphony/processor/AdminProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/b3log/symphony/processor/AdminProcessor.java b/src/main/java/org/b3log/symphony/processor/AdminProcessor.java index 202beb50..a8368db7 100644 --- a/src/main/java/org/b3log/symphony/processor/AdminProcessor.java +++ b/src/main/java/org/b3log/symphony/processor/AdminProcessor.java @@ -439,6 +439,7 @@ public void markPic(final RequestContext context) { final Request request = context.getRequest(); final JSONObject user = Sessions.getUser(); String userId = user.optString(Keys.OBJECT_ID); + String uname = user.optString(User.USER_NAME); try { String type = context.param("type"); @@ -487,7 +488,7 @@ public void markPic(final RequestContext context) { String picUserName = picture.optString("userName"); String picUserId = userQueryService.getUserByName(picUserName).optString(Keys.OBJECT_ID); - ChatRoomBot.sendBotMsg("犯罪嫌疑人 @" + picUserName + " 由于上传违法文件/图片,被处以 500 积分的处罚,请引以为戒。\n@adlered 留档"); + ChatRoomBot.sendBotMsg("犯罪嫌疑人 @" + picUserName + " 由于上传违法文件/图片,被处以 500 积分的处罚,请引以为戒。\n@" + uname + " 处理人\n@adlered 审批人"); ChatRoomBot.abusePoint(picUserId, 500, "机器人罚单-上传违法文件"); }