[Add] BotAdminCommandProcess 完善作品报告管理功能;

[Add] BotCommandProcess 对Report增加报告时间;
This commit is contained in:
2020-04-24 01:24:03 +08:00
parent 4afa414725
commit 0eadefa74f
2 changed files with 29 additions and 0 deletions

View File

@ -578,6 +578,7 @@ public class BotCommandProcess {
log.warn("收到作品反馈(IllustId: {}, 原因: {})", illustId, reason);
JsonObject reportJson = new JsonObject();
reportJson.addProperty("illustId", illustId);
reportJson.addProperty("reportTime", new Date().getTime());
reportJson.addProperty("reason", reason);
reportStore.update(String.valueOf(illustId), reportJson, 0);
return "色图姬收到了你的报告,将屏蔽该作品并对作品违规情况进行核实,感谢你的反馈!";