diff --git a/src/main/java/com/yutou/qqbot/Controllers/AppController.java b/src/main/java/com/yutou/qqbot/Controllers/AppController.java index f0083fe..541c382 100644 --- a/src/main/java/com/yutou/qqbot/Controllers/AppController.java +++ b/src/main/java/com/yutou/qqbot/Controllers/AppController.java @@ -39,6 +39,9 @@ public class AppController { if ("open".equals(status)) { return "0"; } else if ("on".equals(status)) { + return "2"; + }else if("over".equals(status)){ + RedisTools.set("door","ready"); return "1"; } return "-1";