Przeglądaj źródła

修复开服时间判断

Jim 10 miesięcy temu
rodzic
commit
31a934efe6

+ 1 - 1
src/main/java/com/ljsd/controller/GetServerListController.java

@@ -119,7 +119,7 @@ public class GetServerListController extends HttpServlet {
                 if (state == -1) {
                     continue;
                 }
-                if (System.currentTimeMillis() < time && whiteList.size() == 0) {
+                if (System.currentTimeMillis()/1000 < time && whiteList.size() == 0) {
                     continue;
                 }
                 if (state == 2 && maxNum < num) {