Skip to content

Commit

Permalink
管理修改卡片
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Nov 5, 2024
1 parent dcd91b5 commit c1e25d6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,11 @@ public void markPic(final RequestContext context) {
ChatRoomBot.sendBotMsg("犯罪嫌疑人 @" + picUserName + " 由于上传违法文件/图片,被处以 500 积分的处罚,请引以为戒。\n@" + uname + " 处理人\n@adlered 审批人");
ChatRoomBot.abusePoint(picUserId, 500, "机器人罚单-上传违法文件");
}

operationMgmtService.addOperation(Operation.newOperation(request, Operation.OPERATION_CODE_C_DELETE_PICTURE, picture.toString().substring(0, 254)));
String picData = picture.toString();
if (picData.length() > 254) {
picData = picData.substring(0, 254);
}
operationMgmtService.addOperation(Operation.newOperation(request, Operation.OPERATION_CODE_C_DELETE_PICTURE, picData));

context.renderJSON(StatusCodes.SUCC);
context.renderMsg("审核成功,奖励已发放!");
Expand Down

0 comments on commit c1e25d6

Please sign in to comment.