This commit is contained in:
邹宗楠
2023-04-03 14:32:34 +08:00
parent afcee6fe38
commit 30ed11db6c
3 changed files with 53 additions and 1 deletions

View File

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