更改路由前缀

This commit is contained in:
lianghuanjie
2024-12-13 18:16:23 +08:00
parent f9084a0eb3
commit b93614f0df
3 changed files with 5 additions and 5 deletions

View File

@@ -35,6 +35,6 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
},
},
rest.WithJwt(serverCtx.Config.Auth.AccessSecret),
rest.WithPrefix("/api/task/v1"),
rest.WithPrefix("/gapi/task/v1"),
)
}