mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🎨 修正错误码不符合使用场景 (#36)
* 修正错误码不符合使用场景
使无效项有效
* 🚨 `pre-commit-ci`修复格式错误
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
ccf1a0bcba
commit
91a56ff5c5
@ -289,7 +289,10 @@ 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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user