This commit is contained in:
eson 2023-09-01 15:59:23 +08:00
parent dd44b7c696
commit 81028ac52f

View File

@ -96,7 +96,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
} }
moduleName := mlist[1] moduleName := mlist[1]
cond = moduleName + " and " + cond cond = "module = " + moduleName + " and " + cond
if mquery, ok := mquerys[mtable]; ok { if mquery, ok := mquerys[mtable]; ok {
mquery.ModuleQuery[strings.Join(mlist[2:], ",")] = struct{}{} mquery.ModuleQuery[strings.Join(mlist[2:], ",")] = struct{}{}