feat: 初始化考培练系统项目
- 从服务器拉取完整代码 - 按框架规范整理项目结构 - 配置 Drone CI 测试环境部署 - 包含后端(FastAPI)、前端(Vue3)、管理端 技术栈: Vue3 + TypeScript + FastAPI + MySQL
This commit is contained in:
9
知识库/参考代码/coze-chat-frontend/src/stores/config.ts
Executable file
9
知识库/参考代码/coze-chat-frontend/src/stores/config.ts
Executable file
@@ -0,0 +1,9 @@
|
||||
export const config = {
|
||||
getBaseUrl: () =>
|
||||
localStorage.getItem("chat-x_base_url") || "https://api.coze.cn",
|
||||
getBaseWsUrl: () =>
|
||||
localStorage.getItem("chat-x_base_ws_url") || "wss://ws.coze.cn",
|
||||
getPat: () => localStorage.getItem("chat-x_pat") || "",
|
||||
getBotId: () =>
|
||||
localStorage.getItem("chat-x_bot_id") || "7509379008556089379", // 咨询师陪练Bot ID,与后端配置保持一致
|
||||
}
|
||||
Reference in New Issue
Block a user