|
...
|
...
|
@@ -168,7 +168,7 @@ class UserLoginLogic |
|
|
|
$info['is_customized'] = $project['is_customized'];
|
|
|
|
$info['is_upload_manage'] = $project['is_upload_manage'];
|
|
|
|
$info['upload_config'] = $project['upload_config'];
|
|
|
|
$info['configuration'] = ($project['deploy_build']['configuration'] != null) ? $project['deploy_build']['configuration'] : (new \stdClass());
|
|
|
|
$info['configuration'] = ($project['deploy_build']['configuration'] != null) ? $project['deploy_build']['configuration'] : ["is_SEO" => 0, "is_head"=> 0, "is_home"=> 0, "build_status"=> 0];
|
|
|
|
//保存项目缓存
|
|
|
|
Cache::put('user-'.$info['project_id'],$project,$minutes = null);
|
|
|
|
return $this->success($info);
|
|
...
|
...
|
@@ -197,7 +197,8 @@ class UserLoginLogic |
|
|
|
$info['is_customized'] = $project['is_customized'];
|
|
|
|
$info['is_upload_manage'] = $project['is_upload_manage'];
|
|
|
|
$info['upload_config'] = $project['upload_config'];
|
|
|
|
$info['configuration'] = $project['deploy_build']['configuration'];
|
|
|
|
$info['configuration'] = ($project['deploy_build']['configuration'] != null) ? $project['deploy_build']['configuration'] : ["is_SEO" => 0, "is_head"=> 0, "is_home"=> 0, "build_status"=> 0];
|
|
|
|
|
|
|
|
//保存项目缓存
|
|
|
|
Cache::put('user-'.$info['project_id'],$project,$minutes = null);
|
|
|
|
return $this->success($info);
|
...
|
...
|
|