mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
feat: 新增文件上传下载功能并优化用户认证流程
- 新增文件上传下载服务及API接口 - 重构用户认证模块,支持验证码登录 - 优化.env配置文件结构 - 更新前端API请求工具和类型定义 - 添加工作台菜单项 - 修复用户登出逻辑 - 统一API响应数据结构
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
||||
# 环境
|
||||
VITE_APP_ENV=development
|
||||
|
||||
# 项目运行的端口号
|
||||
VITE_APP_PORT = 4096
|
||||
# 项目名称
|
||||
VITE_APP_TITLE=fastapiadmin
|
||||
|
||||
# API 基础路径,开发环境下的请求前缀
|
||||
VITE_APP_BASE_API = '/dev-api'
|
||||
# 网络请求公用地址
|
||||
VITE_API_BASE_URL=http://localhost:8001
|
||||
# VITE_API_BASE_URL=http://service.fastapiadmin.com
|
||||
|
||||
# 代理前缀
|
||||
VITE_APP_BASE_API=/api/v1
|
||||
|
||||
# 应用端口
|
||||
VITE_APP_PORT=4096
|
||||
|
||||
# 超时时间
|
||||
VITE_TIMEOUT=10000
|
||||
|
||||
# API 服务器的 URL
|
||||
#VITE_APP_API_URL = http://localhost:8989
|
||||
VITE_APP_API_URL = https://api.youlai.tech
|
||||
|
||||
# WebSocket 服务器的 URL,不配置默认关闭 WebSocket
|
||||
#VITE_APP_WS_ENDPOINT= ws://localhost:4096/ws
|
||||
Reference in New Issue
Block a user