$_type = "son";
$_typeid = intval(73);
$_category = new app\index\model\CategoryModel();
$_catlist = $_category->getCategory(1);
if ($_type == 'parent') {
$_parent = $_category->getParents($_catlist, $_typeid);
$_typeid = $_parent[0]['id'];
}
$type = $_category->getOneCategory($_typeid);
$type = $_category->getCategoryArea($type);
$type = update_str_dq($type, session('sys_areainfo'));
?>