作者 lyh

gx

@@ -91,8 +91,8 @@ class ProjectLogic extends BaseLogic @@ -91,8 +91,8 @@ class ProjectLogic extends BaseLogic
91 */ 91 */
92 public function projectSave(){ 92 public function projectSave(){
93 93
94 - DB::beginTransaction();  
95 - try { 94 +// DB::beginTransaction();
  95 +// try {
96 if($this->param['type'] == Project::TYPE_SEVEN){ 96 if($this->param['type'] == Project::TYPE_SEVEN){
97 //错误单直接返回,单独处理 97 //错误单直接返回,单独处理
98 $this->setTypeSevenEdit($this->param); 98 $this->setTypeSevenEdit($this->param);
@@ -110,11 +110,11 @@ class ProjectLogic extends BaseLogic @@ -110,11 +110,11 @@ class ProjectLogic extends BaseLogic
110 //保存售后信息 110 //保存售后信息
111 $this->saveProjectAfter($this->param['project_after']); 111 $this->saveProjectAfter($this->param['project_after']);
112 } 112 }
113 - DB::commit();  
114 - }catch (\Exception $e){  
115 - DB::rollBack();  
116 - $this->fail('error');  
117 - } 113 +// DB::commit();
  114 +// }catch (\Exception $e){
  115 +// DB::rollBack();
  116 +// $this->fail('error');
  117 +// }
118 return $this->success(); 118 return $this->success();
119 } 119 }
120 120