作者 lyh

gx

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