diff --git a/app/mix/cmd_offline/main.go b/app/mix/cmd_offline/main.go index 2e695296..711074e6 100644 --- a/app/mix/cmd_offline/main.go +++ b/app/mix/cmd_offline/main.go @@ -111,7 +111,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", GetIp(), cfg.App.Port), Handler: router,