导入最近PR

This commit is contained in:
ATTomatoo 2025-07-05 03:07:43 +08:00
parent 4ec6f39af1
commit c7427ecb20

View File

@ -55,7 +55,7 @@ class LevelUser(Model):
level: 权限等级
group_flag: 是否被自动更新刷新权限 0:, 1:.
"""
if await cls.exists(user_id=user_id, group_id=group_id, level=level):
if await cls.exists(user_id=user_id, group_id=group_id, user_level=level):
# 权限相同时跳过
return
await cls.update_or_create(