Commit 81ecffa2 authored by hongguangwu's avatar hongguangwu

人员档案相关-超管是0

parent 68eed82f
......@@ -88,7 +88,7 @@ public class TEmployeeInfoController {
return R.failed(CommonConstants.PLEASE_LOG_IN);
}
// 普通用户:
if (CommonConstants.ZERO_STRING.equals(user.getSystemFlag())) {
if (CommonConstants.ONE_STRING.equals(user.getSystemFlag())) {
// 菜单id
String menuId = "1536922631616278529";
......
......@@ -115,6 +115,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
if (check.getIsTrue() == CommonConstants.ZERO_INT) {
return R.failed(check.getReason());
}
} else {
return R.failed("校验服务器未返回,请联系管理员!");
}
return R.ok();
}
......
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