From 4bdee904d9b37aa963fa4b542c0fd0a3ad764afe Mon Sep 17 00:00:00 2001 From: Leufolium Date: Fri, 24 May 2024 08:59:21 +0800 Subject: [PATCH] init offline --- app/mix/cmd_offline/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,