|
...
|
...
|
@@ -330,7 +330,7 @@ class TranslateController extends BaseController |
|
|
|
$this->pageSixList($data,$count,$v,1,15);
|
|
|
|
}
|
|
|
|
$blogInfo = $routeMapModel->read(['route'=>'blog']);
|
|
|
|
if($blogInfo === false){
|
|
|
|
if($blogInfo === false && ($this->user['is_show_blog'] == 1)){
|
|
|
|
$blogModel = new Blog();
|
|
|
|
$count = $blogModel->formatQuery(['status'=>1])->count();
|
|
|
|
$v['route'] = 'blog';
|
...
|
...
|
|