Skip to content

Commit

Permalink
图片审核
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Nov 4, 2024
1 parent 0059144 commit 19d1814
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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, "机器人罚单-上传违法文件");
}

Expand Down

0 comments on commit 19d1814

Please sign in to comment.