Commit 76301886 authored by suntengda's avatar suntengda

update app-团餐活动列表已结束列表增加缓存

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