Browse Source

修改开关

dos 2 months ago
parent
commit
cb698b03a5

+ 1 - 1
game-business/src/main/java/com/game/business/task/WebSokcetTask.java

@@ -11,7 +11,7 @@ import java.io.IOException;
 @Component
 public class WebSokcetTask {
 
-    @Value("${task.switch}")
+    @Value("${websocket.switch}")
     private Boolean taskSwitch;
 
     @Scheduled(cron = "0/3 * * * * ? ")