Update to v7.46.0

This commit is contained in:
aapanel.com
2025-08-01 09:42:33 +08:00
parent 43aeddafa1
commit 3a245e1396
1097 changed files with 6641 additions and 2721 deletions
+2 -2
View File
@@ -1223,7 +1223,7 @@ class main(databaseBase):
if value['db_type'] in ['1', 1]:
continue # 跳过远程数据库
result = self.ToDataBase(value)
if result == 1:
if result.get("status") == 0 and result["message"].get("result") == 1:
n += 1
else:
import json
@@ -1231,7 +1231,7 @@ class main(databaseBase):
for value in data:
find = sql.where("id=?", (value,)).field('id,name,username,password,sid,db_type,accept,type').find()
result = self.ToDataBase(find)
if result == 1:
if result.get("status") == 0 and result["message"].get("result") == 1:
n += 1
if n == 1:
return public.return_message(0, 0, public.lang("Synchronization succeeded"))