From dfa2a5e967d70081eb3e98c6b77900e3800be273 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期五, 28 六月 2024 14:14:33 +0800 Subject: [PATCH] 开发环境dev跳过登录验证 --- conf/config.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/conf/config.go b/conf/config.go index 8f40e75..8e703e5 100644 --- a/conf/config.go +++ b/conf/config.go @@ -3,6 +3,7 @@ import ( "log" "os" + "wms/constvar" "wms/pkg/logx" "wms/pkg/mysqlx" @@ -30,6 +31,7 @@ JWTSecret string FileServer string //鏂囦欢鏈嶅姟鍣ㄥ湴鍧� ServerId string //鏈嶅姟ID + Env constvar.Env GrpcPort string //grpc绔彛鍙� CompanyName string //鍏徃鍚� } -- Gitblit v1.8.0