Commit cd237a02 authored by liuyuzhen's avatar liuyuzhen

cityList日志

parent e8aee150
......@@ -99,6 +99,7 @@ class AreaModel extends \DAO\AbstractModel {
$addressRedis = AddressRedisModel::getInstance();
$cityList = $addressRedis->find('cityList');
if($cityList){
\Our\Log::getInstance()->write(json_encode($cityList),'/data/log/applog');
return $cityList;
}
$areaList = $this->getAllCityList();
......
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