Authored by 郝肖肖

navs 判断是否为空

... ... @@ -393,6 +393,9 @@ class ItemModel
Cache::set($key, $navs);
}
}
if (empty($navs) || !is_array($navs)) {
return array();
}
return $navs;
}
... ...