diff --git a/src/services/creditsService.ts b/src/services/creditsService.ts index 5b55a61..09a3a9f 100644 --- a/src/services/creditsService.ts +++ b/src/services/creditsService.ts @@ -94,7 +94,7 @@ export async function fetchBalance(): Promise { * 调用 StrangeLoop 余额接口 */ async function callStrangeLoopBalance(token: string): Promise { - const urlStr = getStrangeLoopApiUrl('/api/credit/balance'); + const urlStr = getStrangeLoopApiUrl('/strangeloop/api/credit/balance'); const url = new URL(urlStr); const isHttps = url.protocol === 'https:';