Commit 4d27c995 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.7.21' into MVP1.7.21

parents 1759d905 234bf0fe
......@@ -36,6 +36,7 @@ public class MenuUtil {
private static final String START_STR = "start";
public void setAuthSql(YifuUser user, BaseEntity entity) {
try {
// 是否无权限,默认否
boolean noAuth = false;
// 普通用户:
......@@ -145,5 +146,9 @@ public class MenuUtil {
// 前端某些详情里的page接口没传mid(甚至导出也没传mid),暂时注释掉
//entity.setAuthSql( " and 1=2 ");
}
} catch (Exception e) {
// 对于失去登录token的,默认无数据
//entity.setAuthSql( " and 1=2 ");
}
}
}
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