|  | @@ -15,7 +15,6 @@ import com.yonge.cooleshow.biz.dal.entity.CourseGroup;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.ImGroup;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.ImGroupMember;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.Student;
 | 
	
		
			
				|  |  | -import com.yonge.cooleshow.biz.dal.entity.Subject;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.Teacher;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.UserOrder;
 | 
	
		
			
				|  |  |  import com.yonge.cooleshow.biz.dal.entity.UserOrderRefund;
 | 
	
	
		
			
				|  | @@ -38,6 +37,7 @@ import com.yonge.toolset.thirdparty.user.realname.RealnameAuthenticationPlugin;
 | 
	
		
			
				|  |  |  import com.yonge.toolset.utils.idcard.IdcardInfoExtractor;
 | 
	
		
			
				|  |  |  import com.yonge.toolset.utils.idcard.IdcardValidator;
 | 
	
		
			
				|  |  |  import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  | +import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import org.springframework.util.CollectionUtils;
 | 
	
	
		
			
				|  | @@ -73,8 +73,6 @@ public class SysUserServiceImpl implements SysUserService {
 | 
	
		
			
				|  |  |      private TeacherService teacherService;
 | 
	
		
			
				|  |  |      @Resource
 | 
	
		
			
				|  |  |      private MessageSenderPluginContext messageSenderPluginContext;
 | 
	
		
			
				|  |  | -    @Resource
 | 
	
		
			
				|  |  | -    private MessageFeignClientService messageFeignClientService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private UserOrderService userOrderService;
 | 
	
	
		
			
				|  | @@ -103,6 +101,8 @@ public class SysUserServiceImpl implements SysUserService {
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private ImUserFriendService imUserFriendService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @Resource
 | 
	
		
			
				|  |  | +    private MessageFeignClientService messageFeignClientService;
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public SysUserMapper getDao() {
 | 
	
		
			
				|  |  |          return sysUserMapper;
 | 
	
	
		
			
				|  | @@ -237,17 +237,6 @@ public class SysUserServiceImpl implements SysUserService {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -    public EClientType getClientType(String jpushType){
 | 
	
		
			
				|  |  | -        if(StringUtils.isEmpty(jpushType)){
 | 
	
		
			
				|  |  | -            return null;
 | 
	
		
			
				|  |  | -        }else if(jpushType.contains("STUDENT")){
 | 
	
		
			
				|  |  | -            return EClientType.STUDENT;
 | 
	
		
			
				|  |  | -        }else if(jpushType.contains("TEACHER")){
 | 
	
		
			
				|  |  | -            return EClientType.TEACHER;
 | 
	
		
			
				|  |  | -        }else {
 | 
	
		
			
				|  |  | -            return EClientType.BACKEND;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public List<String> accountLogoffCheck(String phone) {
 | 
	
	
		
			
				|  | @@ -403,4 +392,15 @@ public class SysUserServiceImpl implements SysUserService {
 | 
	
		
			
				|  |  |                      .remove();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +    public EClientType getClientType(String jpushType){
 | 
	
		
			
				|  |  | +        if(StringUtils.isEmpty(jpushType)){
 | 
	
		
			
				|  |  | +            return null;
 | 
	
		
			
				|  |  | +        }else if(jpushType.contains("STUDENT")){
 | 
	
		
			
				|  |  | +            return EClientType.STUDENT;
 | 
	
		
			
				|  |  | +        }else if(jpushType.contains("TEACHER")){
 | 
	
		
			
				|  |  | +            return EClientType.TEACHER;
 | 
	
		
			
				|  |  | +        }else {
 | 
	
		
			
				|  |  | +            return EClientType.BACKEND;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |