😎修复获取字典描述错误
This commit is contained in:
parent
e1f7c0eafa
commit
8cd9e84b30
@ -5,10 +5,10 @@
|
|||||||
"Prefix": "adminnet_", // 全局缓存前缀
|
"Prefix": "adminnet_", // 全局缓存前缀
|
||||||
"CacheType": "Memory", // Memory、Redis
|
"CacheType": "Memory", // Memory、Redis
|
||||||
"Redis": {
|
"Redis": {
|
||||||
"Configuration": "server=127.0.0.1:6379;password=;db=5;", // Redis连接字符串
|
"Configuration": "server=127.0.0.1:6379;password=;db=5;", // Redis连接字符串
|
||||||
"Prefix": "adminnet_", // Redis前缀(目前没用)
|
"Prefix": "adminnet_", // Redis前缀(目前没用)
|
||||||
"MaxMessageSize": "1048576", // 最大消息大小 默认1024 * 1024
|
"MaxMessageSize": "1048576", // 最大消息大小 默认1024 * 1024
|
||||||
"AutoDetect": false // 自动检测集群节点 公有云Redis一般放在代理背后,主从架构,如果开启自动检测,将会自动识别主从,导致得到无法连接的内网主从库地址
|
"AutoDetect": false // 自动检测集群节点 阿里云的Redis分布式集群使用代理模式,需要设置为false关闭自动检测;如果不用代理地址,就配置多个节点地址并打开自动检测
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Cluster": { // 集群配置
|
"Cluster": { // 集群配置
|
||||||
|
|||||||
@ -60,7 +60,7 @@ public class SysEnumService : IDynamicApiController, ITransient
|
|||||||
TypeDescribe = description,
|
TypeDescribe = description,
|
||||||
TypeName = type.Name,
|
TypeName = type.Name,
|
||||||
TypeRemark = description,
|
TypeRemark = description,
|
||||||
EnumEntities = enumType.EnumToList()
|
EnumEntities = (enumType ?? type).EnumToList()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user