[Claude Code] After prompt #0

This commit is contained in:
2025-12-23 13:53:53 +08:00
parent 619c59d786
commit 2b0fa71c40
3 changed files with 11 additions and 5 deletions

View File

@@ -85,9 +85,9 @@ public class ThemesController {
@GetMapping("/recommended")
@Operation(summary = "推荐主题列表", description = "按真实下载数量降序返回推荐主题")
public BaseResponse<List<KeyboardThemesRespVO>> getRecommendedThemes() {
public BaseResponse<List<KeyboardThemesRespVO>> getRecommendedThemes(@RequestParam Long themeId) {
Long userId = StpUtil.getLoginIdAsLong();
List<KeyboardThemesRespVO> result = themesService.getRecommendedThemes(userId);
List<KeyboardThemesRespVO> result = themesService.getRecommendedThemes(userId, themeId);
return ResultUtils.success(result);
}