fix: 版本信息转临时存储;允许强制请求版本信息

This commit is contained in:
DLmaster361
2025-09-13 11:01:26 +08:00
parent 642b34eca3
commit e097e40826
4 changed files with 25 additions and 33 deletions

View File

@@ -37,7 +37,7 @@ async def check_update(version: UpdateCheckIn = Body(...)) -> UpdateCheckOut:
try:
if_need, latest_version, update_info = await Updater.check_update(
current_version=version.current_version
current_version=version.current_version, if_force=version.if_force
)
except Exception as e:
return UpdateCheckOut(