fix 路由分组、缓存应用前缀、代码生成文件选择覆盖、操作日志记录参数截取、重新打开页面头像不显示

This commit is contained in:
yxh
2024-03-18 10:20:23 +08:00
parent e75c7a55ff
commit 6f5d3f9120
149 changed files with 350 additions and 245 deletions

View File

@@ -8,15 +8,18 @@
package consts
const (
// CachePrefix 应用缓存数据前缀
CachePrefix = "APP:"
CacheModelMem = "memory"
CacheModelRedis = "redis"
CacheModelDist = "dist"
// CacheSysDict 字典缓存菜单KEY
CacheSysDict = "sysDict"
CacheSysDict = CachePrefix + "sysDict"
// CacheSysDictTag 字典缓存标签
CacheSysDictTag = "sysDictTag"
CacheSysDictTag = CachePrefix + "sysDictTag"
// CacheSysConfigTag 系统参数配置
CacheSysConfigTag = "sysConfigTag"
CacheSysConfigTag = CachePrefix + "sysConfigTag"
)

View File

@@ -61,7 +61,7 @@ func (s *sSysDictData) GetDictWithDataByType(ctx context.Context, dictType, defa
value = dict
return
}, 0, consts.CacheSysDictTag)
if iDict != nil {
if !iDict.IsEmpty() {
err = gconv.Struct(iDict, &dict)
if err != nil {
return