Commit cb65c38e by changjin.pan

redis set不需要序列化value

parent 05e1aa3e
...@@ -229,8 +229,7 @@ namespace Siger.WeComApi.Common.cache ...@@ -229,8 +229,7 @@ namespace Siger.WeComApi.Common.cache
} }
try try
{ {
byte[] temparr = SerializeObject(value); return Client.Set(key, value, overtime);
return Client.Set(key, temparr, overtime);
} }
catch (Exception ex) catch (Exception ex)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment