...
This commit is contained in:
parent
a0973b4157
commit
35ec876e81
@ -31,7 +31,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}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user