Commit ac657bd1 authored by suntengda's avatar suntengda

Merge branch 'hotfix_tuancan_slow' into develop

parents fe4d0cd3 57ce3300
......@@ -202,7 +202,7 @@ class MarketingController extends Base
private function getTuanCanEndList(){
try{
$redis = RedisUtil::getInstance('cache',['serializer'=>'json']);
$key = "tuancan_end_list_test2";
$key = "tuancan_end_list_".date('Ymd');
$list['end'] = $redis->get($key);
if(empty($list['end'])) {
......@@ -260,6 +260,8 @@ class MarketingController extends Base
/**
* 切换活动状态
* @throws \App\Exception\custom\ParamException
......
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