作者 lyh

gx

... ... @@ -145,8 +145,8 @@ class ProjectLogic extends BaseLogic
* @time :2023/8/30 11:57
*/
public function projectSave(){
DB::beginTransaction();
try {
// DB::beginTransaction();
// try {
if($this->param['type'] == Project::TYPE_SEVEN){
//错误单直接返回,单独处理
$this->setTypeSevenEdit($this->param);
... ... @@ -170,26 +170,15 @@ class ProjectLogic extends BaseLogic
//同步信息表
(new SyncService())->projectAcceptAddress($this->param['id']);
}
DB::commit();
}catch (\Exception $e){
DB::rollBack();
$this->fail('保存失败,请联系管理员');
}
// DB::commit();
// }catch (\Exception $e){
// DB::rollBack();
// $this->fail('保存失败,请联系管理员');
// }
return $this->success();
}
/**
* @remark :
* @name :setServers
* @author :lyh
* @method :post
* @time :2024/6/25 14:52
*/
public function setServers(){
}
/**
* @remark :危险项目同步图片与文件
* @name :syncImageFile
* @author :lyh
... ... @@ -516,11 +505,6 @@ class ProjectLogic extends BaseLogic
return $this->success();
}
/**
* @remark :创建用户
* @name :createUser
... ...