重构后端服务架构并优化前端错误处理
This commit is contained in:
13
go-backend/.env.example
Normal file
13
go-backend/.env.example
Normal file
@@ -0,0 +1,13 @@
|
||||
# Database configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=root
|
||||
DB_PASSWORD=
|
||||
DB_NAME=niumall_go
|
||||
|
||||
# Server configuration
|
||||
PORT=8080
|
||||
GIN_MODE=debug
|
||||
|
||||
# JWT configuration
|
||||
JWT_SECRET=your-secret-key-here
|
||||
Reference in New Issue
Block a user