修复一个resid Cache错误
This commit is contained in:
parent
5502681f99
commit
edaea6fccc
|
@ -90,10 +90,12 @@ namespace Cmdjy.Bll
|
|||
}
|
||||
|
||||
private static string toJson(object value) {
|
||||
if(value == null) return null;
|
||||
return JsonConvert.SerializeObject(value);
|
||||
}
|
||||
|
||||
private static T fromJson<T>(string value) {
|
||||
private static T fromJson<T>(string value) where T : class {
|
||||
if(value == null) return null;
|
||||
return JsonConvert.DeserializeObject<T>(value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<add key="AutoMigrations" value="true" />
|
||||
|
||||
<!--Redis服务器连接字符串,localhost:13919,password=123-->
|
||||
<add key="RedisConnectionString" value="" />
|
||||
<add key="RedisConnectionString" value="127.0.0.1:7001,password=123654" />
|
||||
|
||||
<!--万仕达接口一次最大传送处方数-->
|
||||
<add key="wsd:maxCount" value="50" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user