diff --git a/src/main/java/com/yutou/qqbot/models/WebSign/ZhuZhu.java b/src/main/java/com/yutou/qqbot/models/WebSign/ZhuZhu.java index de5c121..c6c807b 100644 --- a/src/main/java/com/yutou/qqbot/models/WebSign/ZhuZhu.java +++ b/src/main/java/com/yutou/qqbot/models/WebSign/ZhuZhu.java @@ -3,6 +3,7 @@ package com.yutou.qqbot.models.WebSign; import com.alibaba.fastjson2.JSON; import com.alibaba.fastjson2.JSONArray; import com.yutou.qqbot.Annotations.UseModel; +import com.yutou.qqbot.QQBotManager; import com.yutou.qqbot.models.Model; import com.yutou.qqbot.utlis.ConfigTools; import com.yutou.qqbot.utlis.StringUtils; @@ -32,7 +33,11 @@ public class ZhuZhu extends Model { public synchronized void onTime(Long qq, String time) { super.onTime(qq, time); if ("09:01:00".equals(time)) { - sign(); + if(sign()){ + QQBotManager.getInstance().sendMessage("HiRes论坛签到成功"); + }else{ + QQBotManager.getInstance().sendMessage("HiRes论坛签到失败"); + } } }