소스 검색

医保对接

csx 3 년 전
부모
커밋
8a05e313ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controllers/mobile_api_controllers/mobile_api_base_controller.go

+ 1 - 1
controllers/mobile_api_controllers/mobile_api_base_controller.go 파일 보기

120
 			//该机构下该用户有多少个
120
 			//该机构下该用户有多少个
121
 			redisClient := service.RedisClient()
121
 			redisClient := service.RedisClient()
122
 			defer redisClient.Close()
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
 			result, _ := redisClient.Get(key2).Result()
124
 			result, _ := redisClient.Get(key2).Result()
125
 			var role models.App_Role
125
 			var role models.App_Role
126
 			var roles []string
126
 			var roles []string