|
@@ -120,7 +120,7 @@ func (this *MobileBaseAPIAuthController) Prepare() {
|
120
|
120
|
//该机构下该用户有多少个
|
121
|
121
|
redisClient := service.RedisClient()
|
122
|
122
|
defer redisClient.Close()
|
123
|
|
- key2 := strconv.FormatInt(adminUserInfo.Org.Id, 64) + "_" + strconv.FormatInt(adminUserInfo.AdminUser.Id, 64) + "_role_ids"
|
|
123
|
+ key2 := strconv.FormatInt(adminUserInfo.Org.Id, 10) + "_" + strconv.FormatInt(adminUserInfo.AdminUser.Id, 10) + "_role_ids"
|
124
|
124
|
result, _ := redisClient.Get(key2).Result()
|
125
|
125
|
var role models.App_Role
|
126
|
126
|
var roles []string
|