周星我的排名处理
This commit is contained in:
parent
a8d9eb76e5
commit
2eaddcc853
@ -1,5 +1,6 @@
|
||||
package com.red.circle.other.adapter.app.activity.room;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
|
||||
import com.red.circle.common.business.dto.cmd.AppExtCommand;
|
||||
import com.red.circle.framework.dto.ResultResponse;
|
||||
@ -125,7 +126,10 @@ public class WeekStarRestController extends BaseController {
|
||||
* @eo.request-type formdata
|
||||
*/
|
||||
@GetMapping("/my-rank")
|
||||
public UserRankCO getMyRank(@Validated WeekStarRankingQueryCmd cmd) {
|
||||
public UserRankCO getMyRank(@Validated WeekStarRankingQueryCmd cmd, @RequestParam(value = "userId", required = false) String userId) {
|
||||
if (StrUtil.isNotBlank(userId)) {
|
||||
cmd.setReqUserId(Long.parseLong(userId));
|
||||
}
|
||||
return weekStarService.getMyRank(cmd);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user