fix: 优化API Key错误状态码的显示方式

This commit is contained in:
AAEE86
2025-10-14 00:53:19 +08:00
parent 1f9afc788b
commit ea3ad2157f
2 changed files with 37 additions and 41 deletions

View File

@@ -1151,7 +1151,7 @@ class DroidRelayService {
if (authMethod === 'api_key') {
if (selectedAccountApiKey?.id) {
let markResult = null
const errorMessage = `上游返回 ${statusCode} 错误`
const errorMessage = `${statusCode}`
try {
// 标记API Key为异常状态而不是删除