This commit is contained in:
2025-11-22 16:50:42 +08:00
parent 809f257bc7
commit 042531c68c
6 changed files with 9 additions and 10 deletions

View File

@@ -4,8 +4,8 @@ import { getAccessToken } from '@/utils/auth'
// 使用公共配置
import { API_BASE } from '@gold/config/api'
// C 端使用 APP_AI,如果不存在则回退到 ADMIN_AI
const SERVER_BASE_AI = API_BASE.APP_AI || API_BASE.ADMIN_AI
// C 端使用 APP_AI
const SERVER_BASE_AI = API_BASE.APP_AI

View File

@@ -1,9 +1,9 @@
import http from '@/api/http'
import { API_BASE } from '@gold/config/api'
// C 端使用 APP_AI,如果不存在则回退到 ADMIN_AI
// C 端使用 APP_AI
// 后端路径是 /app-api/ai/user-prompt参考 chat API 的实现
const SERVER_BASE_AI = API_BASE.APP_AI || API_BASE.ADMIN_AI
const SERVER_BASE_AI = API_BASE.APP_AI
/**
* 用户提示词 API