This commit is contained in:
aozhiwei 2023-07-26 13:54:03 +08:00
parent 96682b82a3
commit 8cc505fa0e

View File

@ -82,7 +82,7 @@ class Rankings {
//获取用户记录
async getRecords(conn, lastIdx, limit) {
const {err, rows} = await conn.execQuery(
'select idx,account_id,channel,convert(`name` using utf8) as name,head_id,head_frame,rank,history_best_rank,score,history_best_score,createtime, score_modifytime from t_user where idx > ? LIMIT ?',
'select idx,account_id,channel,convert(`name` using utf8) as name,head_id,head_frame,`rank`,history_best_rank,`score`,history_best_score,createtime, score_modifytime from t_user where idx > ? LIMIT ?',
[
lastIdx,
limit