Browse Source

医保对接

csx 2 years ago
parent
commit
8a05e313ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/mobile_api_controllers/mobile_api_base_controller.go

+ 1 - 1
controllers/mobile_api_controllers/mobile_api_base_controller.go View File

@@ -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