zoujiajian 11 mesi fa
parent
commit
cecec232da

+ 2 - 2
netflix-web/src/main/java/com/cyksj/web/controller/codex/CodexController.java

@@ -61,7 +61,7 @@ public class CodexController {
     /**
      * 用户OpenAI控制台数据 (Java系统专用接口)
      */
-    @GetMapping("/api/openai/users/dashboard")
+    @GetMapping("/openai/users/dashboard")
     public ClaudeCodeResp getJavaUserDashboard() {
         long userId = StpUserUtil.getLoginIdAsLong();
         ClaudeCodeResp dashboard = codexService.getJavaUserDashboard(userId);
@@ -71,7 +71,7 @@ public class CodexController {
     /**
      * 用户OpenAI图表+明细联动 (Java系统专用接口)
      */
-    @GetMapping("/api/openai/users/analytics")
+    @GetMapping("/openai/users/analytics")
     public ClaudeCodeResp getJavaUserAnalytics() {
         long userId = StpUserUtil.getLoginIdAsLong();
         ClaudeCodeResp analytics = codexService.getJavaUserAnalytics(userId);