1、更新

This commit is contained in:
2025-05-22 15:35:52 +08:00
parent 5d4274f216
commit 231e2350a1
37 changed files with 1715 additions and 71 deletions

View File

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

View File

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