21 lines
1.5 KiB
Plaintext
21 lines
1.5 KiB
Plaintext
数据库初始化成功,表结构已同步,上传目录已就绪
|
|
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
|
|
|
|
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
|
|
- using env: export GIN_MODE=release
|
|
- using code: gin.SetMode(gin.ReleaseMode)
|
|
|
|
[GIN-debug] GET /uploads/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (4 handlers)
|
|
[GIN-debug] HEAD /uploads/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (4 handlers)
|
|
[GIN-debug] POST /api/admin/login --> main.main.func1 (4 handlers)
|
|
[GIN-debug] GET /api/config --> main.main.func2 (4 handlers)
|
|
[GIN-debug] POST /api/config --> main.main.func3 (4 handlers)
|
|
[GIN-debug] POST /api/rsvp --> main.main.func4 (4 handlers)
|
|
[GIN-debug] POST /api/upload --> main.main.func5 (4 handlers)
|
|
[GIN-debug] GET /api/rsvp/list --> main.main.func6 (4 handlers)
|
|
婚礼纪后端 API 已在 http://localhost:8080 启动
|
|
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
|
|
Please check https://github.com/gin-gonic/gin/blob/master/docs/doc.md#dont-trust-all-proxies for details.
|
|
[GIN-debug] Listening and serving HTTP on :8080
|
|
[GIN-debug] [ERROR] listen tcp :8080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
|