Merge pull request 'init offline' (#494) from feat-IRONFANS-133-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/494
This commit is contained in:
chenhao 2024-05-24 08:59:43 +08:00
commit 1cd7e9b920
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func main() {
router := httpengine.NewRouter()
middleware.InitJwtAuthenticator(service.DefaultService.OpVerifyToken)
validator.InitDefaultNotNullValidator()
controller.Init(router)
controller.InitOffline(router)
srv := &http.Server{
Addr: fmt.Sprintf("%s:%d", ip, port),
Handler: router,