1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user