Commit a784d191 authored by qinhaitao's avatar qinhaitao

feat: 🎸 提交游戏

parent 5eef25ba
......@@ -41,7 +41,7 @@ export default class User {
@checkParams(['activityId', 'key?', 'timeKey?', 'limit?'])
@services([CommonUserService])
async getRankList(context: IContext<IParams>, { userInfo }: IControllerInfos, [userService]: [CommonUserService]) {
const { key = 'score', timeKey = 'updateScoreTime', limit = 200 } = context.data
const { key = 'totalScore', timeKey = 'updateScoreTime', limit = 200 } = context.data
const rankInfo = await userService.getMyRankInfo(key, timeKey, userInfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment