|
...
|
...
|
@@ -174,8 +174,8 @@ class ComController extends BaseController |
|
|
|
public function getIsBlog(){
|
|
|
|
$projectModel = new Project();
|
|
|
|
$info = $projectModel->read(['id'=>$this->user['project_id']]);
|
|
|
|
if($info['is_show_blog'] == 0){
|
|
|
|
return 1;
|
|
|
|
if($info['is_show_blog'] != 0){
|
|
|
|
return 1;//不显示
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
...
|
...
|
|