作者 lyh

gx

@@ -64,6 +64,7 @@ class LoginController extends BaseController @@ -64,6 +64,7 @@ class LoginController extends BaseController
64 } 64 }
65 $data = $encrypt->unlock_url($this->param['code'], $info['values']); 65 $data = $encrypt->unlock_url($this->param['code'], $info['values']);
66 $data = json_decode($data, true); 66 $data = json_decode($data, true);
  67 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND);
67 if(!isset($data['project_id']) && !isset($data['user_id'])){ 68 if(!isset($data['project_id']) && !isset($data['user_id'])){
68 $this->response('无效Code',Code::USER_ERROR); 69 $this->response('无效Code',Code::USER_ERROR);
69 } 70 }
@@ -159,7 +159,6 @@ class ProjectLogic extends BaseLogic @@ -159,7 +159,6 @@ class ProjectLogic extends BaseLogic
159 $this->updateServe($param['serve_id']); 159 $this->updateServe($param['serve_id']);
160 } 160 }
161 } 161 }
162 -  
163 DB::commit(); 162 DB::commit();
164 }catch (\Exception $e){ 163 }catch (\Exception $e){
165 DB::rollBack(); 164 DB::rollBack();