diff --git a/docs/team.drawio b/docs/team.drawio new file mode 100644 index 0000000..e69de29 diff --git a/shared/dao/userDao.js b/shared/dao/userDao.js index 94ffa54..6b30382 100644 --- a/shared/dao/userDao.js +++ b/shared/dao/userDao.js @@ -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}`);