作者 lyh

gx

@@ -132,8 +132,8 @@ class ProjectLogic extends BaseLogic @@ -132,8 +132,8 @@ class ProjectLogic extends BaseLogic
132 * @time :2023/8/30 11:57 132 * @time :2023/8/30 11:57
133 */ 133 */
134 public function projectSave(){ 134 public function projectSave(){
135 - DB::beginTransaction();  
136 - try { 135 +// DB::beginTransaction();
  136 +// try {
137 $this->param['project_location'] = 0;//TODO::图片文件存储不同地方,上线后删除 137 $this->param['project_location'] = 0;//TODO::图片文件存储不同地方,上线后删除
138 if($this->param['type'] == Project::TYPE_SEVEN){ 138 if($this->param['type'] == Project::TYPE_SEVEN){
139 //错误单直接返回,单独处理 139 //错误单直接返回,单独处理
@@ -160,11 +160,11 @@ class ProjectLogic extends BaseLogic @@ -160,11 +160,11 @@ class ProjectLogic extends BaseLogic
160 //创建站点 160 //创建站点
161 // $this->createSite($this->param); 161 // $this->createSite($this->param);
162 (new SyncService())->projectAcceptAddress($this->param['id']); 162 (new SyncService())->projectAcceptAddress($this->param['id']);
163 - }  
164 - DB::commit();  
165 - }catch (\Exception $e){  
166 - DB::rollBack();  
167 - $this->fail('保存失败,请联系管理员'); 163 +// }
  164 +// DB::commit();
  165 +// }catch (\Exception $e){
  166 +// DB::rollBack();
  167 +// $this->fail('保存失败,请联系管理员');
168 } 168 }
169 169
170 return $this->success(); 170 return $this->success();