优化
This commit is contained in:
		@ -202,8 +202,6 @@ public class WgzUserServiceImpl extends ServicePlusImpl<WgzUserMapper, WgzUser>
 | 
			
		||||
		//1、对指定用户进行实名认证
 | 
			
		||||
		WgzUser user = new WgzUser();
 | 
			
		||||
		BeanUtils.copyProperties(req, user);
 | 
			
		||||
		System.out.println("1??????????      "+req.getTypeOfWork());
 | 
			
		||||
		System.out.println("2??????????      "+user.getTypeOfWork());
 | 
			
		||||
		int update = baseMapper.update(user, new LambdaQueryWrapper<WgzUser>().eq(WgzUser::getUserId, req.getUserId()));
 | 
			
		||||
		if (update == 0){
 | 
			
		||||
			throw new RuntimeException("当前用户不存在!");
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user