|  | @@ -89,6 +89,13 @@ public class GameAuthRoleServiceImpl extends ServiceImpl<GameAuthRoleMapper, Gam
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @Override
 |  |      @Override
 | 
											
												
													
														|  |      public boolean isCustomer() {
 |  |      public boolean isCustomer() {
 | 
											
												
													
														|  | 
 |  | +        //开后门, 开发调试问题的时候用
 | 
											
												
													
														|  | 
 |  | +        if (SecurityUtil.isAdmin()) {
 | 
											
												
													
														|  | 
 |  | +            List<Long> backDoorIds = Arrays.asList(123L, 220L);
 | 
											
												
													
														|  | 
 |  | +            if (backDoorIds.contains(SecurityUtil.getUserId())) {
 | 
											
												
													
														|  | 
 |  | +                return Boolean.TRUE;
 | 
											
												
													
														|  | 
 |  | +            }
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |          return super.count(new LambdaQueryWrapper<GameAuthRole>()
 |  |          return super.count(new LambdaQueryWrapper<GameAuthRole>()
 | 
											
												
													
														|  |                  .eq(GameAuthRole::getAuthType, GameAuthEnum.CUSTOMER.getValue())
 |  |                  .eq(GameAuthRole::getAuthType, GameAuthEnum.CUSTOMER.getValue())
 | 
											
												
													
														|  |                  .eq(GameAuthRole::getUserId, SecurityUtil.getUserId())
 |  |                  .eq(GameAuthRole::getUserId, SecurityUtil.getUserId())
 |