Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
4d27c995
Commit
4d27c995
authored
Mar 27, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.7.21' into MVP1.7.21
parents
1759d905
234bf0fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
96 additions
and
91 deletions
+96
-91
MenuUtil.java
...om/yifu/cloud/plus/v1/yifu/common/dapr/util/MenuUtil.java
+96
-91
No files found.
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/MenuUtil.java
View file @
4d27c995
...
@@ -36,6 +36,7 @@ public class MenuUtil {
...
@@ -36,6 +36,7 @@ public class MenuUtil {
private
static
final
String
START_STR
=
"start"
;
private
static
final
String
START_STR
=
"start"
;
public
void
setAuthSql
(
YifuUser
user
,
BaseEntity
entity
)
{
public
void
setAuthSql
(
YifuUser
user
,
BaseEntity
entity
)
{
try
{
// 是否无权限,默认否
// 是否无权限,默认否
boolean
noAuth
=
false
;
boolean
noAuth
=
false
;
// 普通用户:
// 普通用户:
...
@@ -145,5 +146,9 @@ public class MenuUtil {
...
@@ -145,5 +146,9 @@ public class MenuUtil {
// 前端某些详情里的page接口没传mid(甚至导出也没传mid),暂时注释掉
// 前端某些详情里的page接口没传mid(甚至导出也没传mid),暂时注释掉
//entity.setAuthSql( " and 1=2 ");
//entity.setAuthSql( " and 1=2 ");
}
}
}
catch
(
Exception
e
)
{
// 对于失去登录token的,默认无数据
//entity.setAuthSql( " and 1=2 ");
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment