he2802 2 年之前
父節點
當前提交
5fac9b41c8

+ 1 - 2
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/DistributionSellerServiceImpl.java

@@ -250,7 +250,7 @@ public class DistributionSellerServiceImpl extends ServiceImpl<DistributionSelle
         }
         if (!SecurityUtils.matchesPassword(password,sysUser.getPassword()))
         {
-            throw new BaseException("");
+            throw new CustomException("密码错误");
         }
         if(Validator.isEmpty(sysUser.getSellerId())){
             throw new CustomException("非业务员无法登录");
@@ -488,7 +488,6 @@ public class DistributionSellerServiceImpl extends ServiceImpl<DistributionSelle
         }
         user.setUpdateTime(DateUtils.getNowDate());
         iSysUserService.updateById(user);
-
         DistributionSeller seller = getOne(new LambdaQueryWrapper<DistributionSeller>()
                 .eq(DistributionSeller::getSellerId,bo.getSellerId()));
         if(Validator.isNotEmpty(bo.getRealname())){