作者 lyh

gx

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