1、更新
This commit is contained in:
@ -10,8 +10,9 @@ var ExtConfig Extend
|
||||
//
|
||||
// 使用方法: config.ExtConfig......即可!!
|
||||
type Extend struct {
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
Redis RedisConfig `mapstructure:"redis"`
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
Redis RedisConfig `mapstructure:"redis"`
|
||||
FileEndPoint string `mapstructure:"fileEndPoint"`
|
||||
}
|
||||
|
||||
type AMap struct {
|
||||
|
||||
@ -11,7 +11,7 @@ settings:
|
||||
readtimeout: 1
|
||||
writertimeout: 2
|
||||
# 数据权限功能开关
|
||||
enabledp: false
|
||||
enabledp: true
|
||||
logger:
|
||||
# 日志存放路径
|
||||
path: temp/logs
|
||||
@ -53,6 +53,7 @@ settings:
|
||||
addr: "127.0.0.1:6379"
|
||||
password: ""
|
||||
db: 3
|
||||
fileEndPoint: http://192.168.2.102:8000
|
||||
cache:
|
||||
# redis:
|
||||
# addr: 127.0.0.1:6379
|
||||
|
||||
Reference in New Issue
Block a user