fix: 矫正后端需要更新的逻辑

This commit is contained in:
DLmaster361
2025-09-09 23:14:29 +08:00
parent 7237523237
commit e3c0add012
4 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ class InfoOut(OutBase):
class VersionOut(OutBase):
if_latest: bool = Field(..., description="后端代码是否为最")
if_need_update: bool = Field(..., description="后端代码是否需要更")
current_hash: str = Field(..., description="后端代码当前哈希值")
current_time: str = Field(..., description="后端代码当前时间戳")
current_version: str = Field(..., description="后端当前版本号")