作者 lyh

gx

@@ -73,7 +73,7 @@ class ProjectLogic extends BaseLogic @@ -73,7 +73,7 @@ class ProjectLogic extends BaseLogic
73 if($info['extend_type'] != 0){ 73 if($info['extend_type'] != 0){
74 $info['type'] = $info['extend_type']; 74 $info['type'] = $info['extend_type'];
75 } 75 }
76 -// $info['domain_url'] = (new DomainInfo())->getDomain($info['deploy_optimize']['domain'] ?? 0); 76 + $info['domain_url'] = (new DomainInfo())->getDomain($info['deploy_optimize']['domain'] ?? 0);
77 //升级项目初始上传配置 77 //升级项目初始上传配置
78 if(empty($info['upload_config'])){ 78 if(empty($info['upload_config'])){
79 $info['upload_config'] =["upload_max_num"=>100, "allow_file_type"=>"doc,docx,xls,xlsx,pdf,txt,csv,png,jpg,jpeg", "upload_max_size"=>5]; 79 $info['upload_config'] =["upload_max_num"=>100, "allow_file_type"=>"doc,docx,xls,xlsx,pdf,txt,csv,png,jpg,jpeg", "upload_max_size"=>5];
@@ -144,7 +144,7 @@ class ProjectLogic extends BaseLogic @@ -144,7 +144,7 @@ class ProjectLogic extends BaseLogic
144 DB::commit(); 144 DB::commit();
145 }catch (\Exception $e){ 145 }catch (\Exception $e){
146 DB::rollBack(); 146 DB::rollBack();
147 - $this->fail('系统错误,请联系开发人员'); 147 + $this->fail('保存失败,请联系管理员');
148 } 148 }
149 (new SyncService())->projectAcceptAddress($this->param['id']); 149 (new SyncService())->projectAcceptAddress($this->param['id']);
150 return $this->success(); 150 return $this->success();