|
|
@@ -115,16 +115,6 @@ public class ClaudeCodeController {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(resp);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 用户使用数据统计
|
|
|
- */
|
|
|
- @GetMapping("/get/user/points/statistics/data")
|
|
|
- public Result<ClaudeCodeResp> getUserPointsStatisticsData(@RequestParam(defaultValue = "30") Integer days) throws Exception {
|
|
|
- long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
- ClaudeCodeResp resp = claudeCodeService.getUserPointsStatisticsData(userId, days);
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(resp);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 仪表盘聚合
|
|
|
* 返回 当前订阅/余额卡片 + 今日汇总 + 今日请求列表
|