作者 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 //错误单直接返回,单独处理
@@ -156,11 +156,11 @@ class ProjectLogic extends BaseLogic @@ -156,11 +156,11 @@ class ProjectLogic extends BaseLogic
156 //创建站点 156 //创建站点
157 (new SyncService())->projectAcceptAddress($this->param['id']); 157 (new SyncService())->projectAcceptAddress($this->param['id']);
158 } 158 }
159 - DB::commit();  
160 - }catch (\Exception $e){  
161 - DB::rollBack();  
162 - $this->fail('保存失败,请联系管理员');  
163 - } 159 +// DB::commit();
  160 +// }catch (\Exception $e){
  161 +// DB::rollBack();
  162 +// $this->fail('保存失败,请联系管理员');
  163 +// }
164 164
165 return $this->success(); 165 return $this->success();
166 } 166 }