gold_readbag and russian

This commit is contained in:
hibiki
2021-06-15 10:57:08 +08:00
parent 95209093de
commit ea620fdae9
125 changed files with 2106 additions and 1244 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class GroupInfoUser(db.Model):
query = cls.query.where(
(cls.user_qq == user_qq) & (cls.belonging_group == belonging_group)
)
user = await query.gino.first()
user = await query.with_for_update().gino.first()
if user:
await user.update(
nickname=nickname