init offline

This commit is contained in:
Leufolium 2024-05-24 08:59:21 +08:00
parent 4983f71f0e
commit 4bdee904d9
1 changed files with 1 additions and 1 deletions

View File

@ -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,