This commit is contained in:
邹宗楠
2023-04-03 18:39:11 +08:00
parent 015d14ee0c
commit 1f06ab54d4
4 changed files with 29 additions and 48 deletions

View File

@@ -3,7 +3,6 @@ package permission
import (
"fmt"
"git.rosy.net.cn/jx-callback/business/jxutils/tasksch"
"git.rosy.net.cn/jx-callback/globals"
"strings"
"time"
@@ -353,9 +352,6 @@ func GetUserStoresResultMap(userID string) (resultMap map[int]int, err error) {
}
}
userRoles, err2 := dao.GetUserRole2(db, []string{userID}, nil)
if userID == "6D914A8BB71611EDB37F525400E86DC0" {
globals.SugarLogger.Debugf("======userRoles:%s", utils.Format4Output(userRoles, false))
}
err = err2
for _, v := range userRoles {
var (