This commit is contained in:
lightings 2023-07-17 17:25:50 +08:00
parent 35ec876e81
commit abe941a903
2 changed files with 1 additions and 1 deletions

0
docs/team.drawio Normal file
View File

View File

@ -14,7 +14,7 @@ class UserDao {
}
async fetchAndCacheUserInfoFromGameDB(uid) {
const query = `SELECT idx,account_id,name,sex,head_id,head_frame,level,bceg,gold,diamond,rank,ring_id,last_login_time FROM t_user WHERE account_id=?`;
const query = `SELECT idx,account_id,name,sex,head_id,head_frame,level,bceg,gold,diamond,\`rank\`,ring_id,last_login_time FROM t_user WHERE account_id=?`;
const results = await query_game(query, [uid]);
if (results.length === 0) {
throw new Error(`User not found: ${uid}`);