修正错误码不符合使用场景

使无效项有效
This commit is contained in:
RBAmeto 2023-10-19 20:39:14 +08:00 committed by GitHub
parent ccf1a0bcba
commit e9a758ea9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ class BaseMysApi:
# 针对1034做特殊处理
if retcode == 1034:
if _ == 1:
if not core_plugins_config.get_config('MysPass').data or _ == 1 :
if uid and self.is_sr:
new_fp = await self.generate_fp_by_uid(uid)
await GsUser.update_data_by_uid_without_bot_id(