Add attendance id resp for event join api, set root api to /app/api/v1
All checks were successful
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-02-06 10:30:28 +08:00
parent 45159484d9
commit 67e2cbbd04
7 changed files with 54 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ import (
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @host localhost:8000
// @BasePath /api/v1
// @BasePath /app/api/v1
// @schemes http https
func Start(ctx context.Context) {
if !viper.GetBool("server.debug_mode") {
@@ -46,7 +46,7 @@ func Start(ctx context.Context) {
r.Use(gin.Recovery())
api.Handler(r.Group("/api/v1"))
api.Handler(r.Group("/app/api/v1"))
// Start http server
server := &http.Server{