This commit is contained in:
menxipeng
2025-10-15 22:54:54 +08:00
parent c242069658
commit 7642ffe5a9
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import { getUserToken, removeStorageItem, runOnClient } from '@/lib/utils/storage' import { getUserToken, removeStorageItem, runOnClient } from '@/lib/utils/storage'
// API 客户端工具,统一处理请求和认证 // API 客户端工具,统一处理请求和认证
const API_BASE_URL = 'http://116.204.124.80:8080/api' const API_BASE_URL = 'http://localhost:8080/api'
// 获取存储的 token // 获取存储的 token
function getToken(): string | null { function getToken(): string | null {

View File

@@ -1,7 +1,7 @@
import { getUserToken, removeStorageItem, runOnClient } from '@/utils/storage' import { getUserToken, removeStorageItem, runOnClient } from '@/utils/storage'
// API 客户端工具,统一处理请求和认证 // API 客户端工具,统一处理请求和认证
const API_BASE_URL = 'http://116.204.124.80:8080/api' const API_BASE_URL = 'http://localhost:8080/api'
// 获取存储的 token // 获取存储的 token
function getToken(): string | null { function getToken(): string | null {