重构后端服务架构并优化前端错误处理

This commit is contained in:
ylweng
2025-09-12 01:21:43 +08:00
parent d550a8ed51
commit 3a48a67757
53 changed files with 3925 additions and 0 deletions

13
go-backend/.env.example Normal file
View 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