From 2eaddcc853afd2cc9c2194b74358113fe446c441 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 22 Sep 2025 14:49:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E6=98=9F=E6=88=91=E7=9A=84=E6=8E=92?= =?UTF-8?q?=E5=90=8D=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adapter/app/activity/room/WeekStarRestController.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/activity/room/WeekStarRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/activity/room/WeekStarRestController.java index 8ae72b48..973576c6 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/activity/room/WeekStarRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/activity/room/WeekStarRestController.java @@ -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); }