Commit ab8e1ac4 authored by suntengda's avatar suntengda

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

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