Commit 3747c605 authored by zhoujun's avatar zhoujun

线上测试

parent 97c07c7b
Pipeline #1611 passed with stage
in 0 seconds
...@@ -68,7 +68,6 @@ class Handler extends ExceptionHandler ...@@ -68,7 +68,6 @@ class Handler extends ExceptionHandler
if ($exception instanceof ErrorException) { if ($exception instanceof ErrorException) {
return redirect(route('index')); return redirect(route('index'));
} }
return parent::render($request, $exception); return parent::render($request, $exception);
} }
} }
...@@ -348,10 +348,10 @@ class CardController extends Controller ...@@ -348,10 +348,10 @@ class CardController extends Controller
if($num > 3) return exit('页面走丢了,请稍后再试!'); if($num > 3) return exit('页面走丢了,请稍后再试!');
} }
$data = [];
if(Cache::has('card:info:'.$userId.':'.$roleId)){ if(Cache::has('card:info:'.$userId.':'.$roleId)){
$data = Cache::get('card:info:'.$userId.':'.$roleId); $data = Cache::get('card:info:'.$userId.':'.$roleId);
}else{ }else{
$data = [];
$result = $this->getVerityLogin($userId); $result = $this->getVerityLogin($userId);
if($result['code'] != 200) return $this->jsonReturn($result['code'], $result['msg']); if($result['code'] != 200) return $this->jsonReturn($result['code'], $result['msg']);
if (empty($roleId) || empty($serverId)) return $this->jsonReturn(7002, '参数错误'); if (empty($roleId) || empty($serverId)) return $this->jsonReturn(7002, '参数错误');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment