|
...
|
...
|
@@ -69,7 +69,7 @@ class ComController extends BaseController |
|
|
|
$code = $this->getIsHome();
|
|
|
|
$projectRoleModel = new ProjectRoleModel();
|
|
|
|
$info = $projectRoleModel->read(['id'=>$this->user['role_id']]);
|
|
|
|
if($code != 0){
|
|
|
|
if($code != 1){
|
|
|
|
$info['role_menu'] = trim(str_replace(',11,',',',','.$info['role_menu'].','),',');
|
|
|
|
}
|
|
|
|
$this->map = [
|
|
...
|
...
|
@@ -109,8 +109,6 @@ class ComController extends BaseController |
|
|
|
$info = $deployBuild->read(['project_id'=>$this->user['project_id']]);
|
|
|
|
if(!empty($info['configuration'])){
|
|
|
|
$configuration = Arr::s2a($info['configuration']);
|
|
|
|
var_dump($configuration);
|
|
|
|
die();
|
|
|
|
if(isset($configuration['is_home']) && ((int)$configuration['is_home'] != 0)){
|
|
|
|
return 1;
|
|
|
|
}
|
...
|
...
|
|