This commit is contained in:
邹宗楠
2024-08-20 16:27:10 +08:00
parent f7332b5df6
commit 33bacc5cd0
2 changed files with 6 additions and 7 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/api2"
"strings"
"time"
@@ -373,6 +374,10 @@ func GetUserStoresResultMap(userID string) (resultMap map[int]int, err error) {
}
}
}
roleList, _ := api2.RoleMan.GetUserRoleList(userID)
for _, v := range roleList {
resultMap[v.StoreID] = v.StoreID
}
return resultMap, err
}