Commit f538691f by 杨树贤

修改缓存

parent 3b8ea833
Showing with 1 additions and 1 deletions
...@@ -33,7 +33,7 @@ class IntracodeModel extends Model ...@@ -33,7 +33,7 @@ class IntracodeModel extends Model
} }
} }
$redis->set('EncodedList_supplier_' . $includeResigned, json_encode($codeList)); $redis->set('EncodedList_supplier_' . $includeResigned, json_encode($codeList));
$redis->expire('EncodedList_supplier_' . $includeResigned, 60 * 10);//缓存10分钟 $redis->expire('EncodedList_supplier_' . $includeResigned, 30);//缓存10分钟
} }
} }
return $codeList; return $codeList;
......
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 sign in to comment