保存现有功能 增加域名和添加时间关联
This commit is contained in:
8
main.py
8
main.py
@@ -243,9 +243,13 @@ class CursorRegister:
|
||||
upload_data.append(upload_item)
|
||||
|
||||
# 上传账号
|
||||
await service.upload_accounts(upload_data)
|
||||
upload_result = await service.upload_accounts(upload_data)
|
||||
await service.cleanup()
|
||||
self.logger.info(f"成功上传 {len(upload_data)} 个账号到服务器")
|
||||
|
||||
if upload_result:
|
||||
self.logger.info(f"成功上传 {len(upload_data)} 个账号到服务器")
|
||||
else:
|
||||
self.logger.error(f"账号上传失败,请检查日志了解详细信息")
|
||||
except Exception as e:
|
||||
self.logger.error(f"上传账号时发生错误: {str(e)}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user