Commit e26e43e4 authored by suntengda's avatar suntengda

update app-团餐活动列表已结束列表 修改缓存序列化方式

parent 76301886
...@@ -201,7 +201,7 @@ class MarketingController extends Base ...@@ -201,7 +201,7 @@ class MarketingController extends Base
private function getTuanCanEndList(){ private function getTuanCanEndList(){
try{ try{
$redis = RedisUtil::getInstance('cache',['serializer'=>'php']); $redis = RedisUtil::getInstance('cache',['serializer'=>'none']);
$key = "tuancan_endlist_".date('Ymd'); $key = "tuancan_endlist_".date('Ymd');
$list['end'] = $redis->get($key); $list['end'] = $redis->get($key);
......
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