[fix] fix sql syntax

This commit is contained in:
YinMo19
2025-08-21 13:48:10 +08:00
parent 2e43dfbdff
commit d05618049c

View File

@@ -485,7 +485,7 @@ class UserStamina(Stamina):
def select(self):
'''获取用户体力信息'''
self.c.execute('''select max_stamina_ts, staminafrom user where user_id = :a''',
self.c.execute('''select max_stamina_ts, stamina from user where user_id = :a''',
{'a': self.user.user_id})
x = self.c.fetchone()
if not x: