Commit 253e2eb3 by 杨昕

code foramt

parent 9093ee9b
Pipeline #10757 passed with stages
in 41 seconds
...@@ -343,7 +343,7 @@ function getRbac($request,$url='api/ram',$category_id = '' ,$type='base'){ ...@@ -343,7 +343,7 @@ function getRbac($request,$url='api/ram',$category_id = '' ,$type='base'){
$rbac_url = $rbac.'/rbac/'.$url.'?t='.$time.'&sign='.$sign.'&ak='.$rbac_ak.'&appid='.$appid.'&uid='.$mis_uid; $rbac_url = $rbac.'/rbac/'.$url.'?t='.$time.'&sign='.$sign.'&ak='.$rbac_ak.'&appid='.$appid.'&uid='.$mis_uid;
break; break;
case 'mis_user': case 'mis_user': //获取mis员工基本信息
$staffNo = $request->username; $staffNo = $request->username;
$rbac_url = $rbac.'/rbac/'.$url.'?t='.$time.'&sign='.$sign.'&ak='.$rbac_ak.'&staffNo='.$staffNo; $rbac_url = $rbac.'/rbac/'.$url.'?t='.$time.'&sign='.$sign.'&ak='.$rbac_ak.'&staffNo='.$staffNo;
break; break;
......
...@@ -137,7 +137,7 @@ class LoginController extends Controller ...@@ -137,7 +137,7 @@ class LoginController extends Controller
return $user; return $user;
}else{ }else{
throw new \Exception('用户验证失败'); throw new \Exception('用户名或者密码有误');
} }
}); });
......
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