diff --git a/core/jx3_service.py b/core/jx3_service.py index 12c3c5f..965158a 100644 --- a/core/jx3_service.py +++ b/core/jx3_service.py @@ -168,12 +168,13 @@ class JX3Service: status_time = datetime.fromtimestamp(float(timestamp)).strftime("%Y-%m-%d %H:%M:%S") - if status == 0: - status_str = f"{server}服务器当前维护中,等会再来吧!\n维护时间:{status_time}" - status_bool = False - else: + if status == 1: status_str = f"{server}服务器已开服,快冲,快冲!\n开服时间:{status_time}" status_bool = True + else: + status_str = f"{server}服务器当前维护中,等会再来吧!\n维护时间:{status_time}" + status_bool = False + return_data["status"] = status_bool