作者 lyh

gx

@@ -135,8 +135,8 @@ class ProjectLogic extends BaseLogic @@ -135,8 +135,8 @@ class ProjectLogic extends BaseLogic
135 * @time :2023/8/17 14:19 135 * @time :2023/8/17 14:19
136 */ 136 */
137 public function save($param){ 137 public function save($param){
138 - DB::beginTransaction();  
139 - try { 138 +// DB::beginTransaction();
  139 +// try {
140 if($param['type'] == 5){ 140 if($param['type'] == 5){
141 $param['extend_type'] == 5; 141 $param['extend_type'] == 5;
142 unset($param['type']); 142 unset($param['type']);
@@ -148,12 +148,12 @@ class ProjectLogic extends BaseLogic @@ -148,12 +148,12 @@ class ProjectLogic extends BaseLogic
148 $this->saveDeployBuild($param); 148 $this->saveDeployBuild($param);
149 $this->saveDeployOptimize($param); 149 $this->saveDeployOptimize($param);
150 $this->saveAfter($param); 150 $this->saveAfter($param);
151 - DB::commit();  
152 - }catch (\Exception $e){  
153 - DB::rollBack();  
154 - errorLog('项目保存失败', $param, $e);  
155 - $this->fail('保存失败');  
156 - } 151 +// DB::commit();
  152 +// }catch (\Exception $e){
  153 +// DB::rollBack();
  154 +// errorLog('项目保存失败', $param, $e);
  155 +// $this->fail('保存失败');
  156 +// }
157 return $this->success(); 157 return $this->success();
158 } 158 }
159 159