10 Commits

Author SHA1 Message Date
af142173bb fix: create_apikey.dspy 添加重复key返回500,加try/except
添加重复的应用ID或名称时,sor.C()抛Duplicate异常未捕获,
导致500错误而非友好的提示信息。

修复:
- 包裹主逻辑在try/except中
- Duplicate/1062错误: 返回'应用ID或名称已存在'
- 其他错误: 返回具体错误信息
2026-06-29 14:46:33 +08:00
1e0f3a408d bugfix 2026-04-02 14:24:48 +08:00
a05353a0e2 bugfix 2026-04-02 14:20:19 +08:00
ba4eaa4653 bugfix 2026-04-02 14:06:59 +08:00
a09e663dca bugfix 2025-09-01 11:56:55 +08:00
7e218a68a6 bugfix 2025-08-28 09:41:11 +08:00
367ad5d79d bugfix 2025-08-06 11:31:23 +08:00
27c1c832b2 bugfix 2025-07-31 17:37:21 +08:00
b584cf07c3 bugfix 2025-07-31 15:06:37 +08:00
8e65f5fc15 bugfix 2025-07-31 14:47:09 +08:00