From e51d4c53de6e9a3ecfe9542d4bfdef215d613229 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 16 十一月 2023 10:56:55 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/SRM --- config/system.go | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/config/system.go b/config/system.go index 0f99af3..42ec690 100644 --- a/config/system.go +++ b/config/system.go @@ -1,15 +1,12 @@ package config type System struct { - Env string `mapstructure:"env" json:"env" yaml:"env"` // 鐜鍊� - DbType string `mapstructure:"db-type" json:"db-type" yaml:"db-type"` // 鏁版嵁搴撶被鍨�:mysql(榛樿)|sqlite|sqlserver|postgresql - OssType string `mapstructure:"oss-type" json:"oss-type" yaml:"oss-type"` // Oss绫诲瀷 - RouterPrefix string `mapstructure:"router-prefix" json:"router-prefix" yaml:"router-prefix"` - Addr int `mapstructure:"addr" json:"addr" yaml:"addr"` // 绔彛鍊� - LimitCountIP int `mapstructure:"iplimit-count" json:"iplimit-count" yaml:"iplimit-count"` - LimitTimeIP int `mapstructure:"iplimit-time" json:"iplimit-time" yaml:"iplimit-time"` - UseMultipoint bool `mapstructure:"use-multipoint" json:"use-multipoint" yaml:"use-multipoint"` // 澶氱偣鐧诲綍鎷︽埅 - UseRedis bool `mapstructure:"use-redis" json:"use-redis" yaml:"use-redis"` // 浣跨敤redis - GrpcUrl string `mapstructure:"grpc-url" json:"grpc-url" yaml:"grpc-url"` // grpc鏈嶅姟鍦板潃 - GrpcAdminUrl string `mapstructure:"grpc-admin-url" json:"grpc-admin-url" yaml:"grpc-admin-url"` // grpc鏈嶅姟鍦板潃 + Env string `mapstructure:"env" json:"env" yaml:"env"` // 鐜鍊� + DbType string `mapstructure:"db-type" json:"db-type" yaml:"db-type"` // 鏁版嵁搴撶被鍨�:mysql(榛樿)|sqlite|sqlserver|postgresql + RouterPrefix string `mapstructure:"router-prefix" json:"router-prefix" yaml:"router-prefix"` + Addr int `mapstructure:"addr" json:"addr" yaml:"addr"` // 绔彛鍊� + GrpcPort string `mapstructure:"grpc-port" json:"grpc-port" yaml:"grpc-port"` // 瀵瑰鎻愪緵鏈嶅姟grpc绔彛 + GrpcUrl string `mapstructure:"grpc-url" json:"grpc-url" yaml:"grpc-url"` // aps grpc鏈嶅姟鍦板潃 + GrpcAdminUrl string `mapstructure:"grpc-admin-url" json:"grpc-admin-url" yaml:"grpc-admin-url"` // admin grpc鏈嶅姟鍦板潃 + GrpcWmsUrl string `mapstructure:"grpc-wms-url" json:"grpc-wms-url" yaml:"grpc-wms-url"` // wms grpc鏈嶅姟鍦板潃 } -- Gitblit v1.8.0