diff --git a/nflg-mobilebroken-quotation/src/main/java/com/nflg/mobilebroken/quotation/controller/app/ShoppingController.java b/nflg-mobilebroken-quotation/src/main/java/com/nflg/mobilebroken/quotation/controller/app/ShoppingController.java index 84a0caa5..7c521abb 100644 --- a/nflg-mobilebroken-quotation/src/main/java/com/nflg/mobilebroken/quotation/controller/app/ShoppingController.java +++ b/nflg-mobilebroken-quotation/src/main/java/com/nflg/mobilebroken/quotation/controller/app/ShoppingController.java @@ -881,7 +881,7 @@ public class ShoppingController extends ControllerBase { Object pwd = stringRedisTemplate.opsForHash().get("quotation:password", String.valueOf(AppUserUtil.getUserId())); // VUtils.trueThrowBusinessError(Objects.isNull(pwd)).throwMessage("还未设置过查看密码"); if (Objects.isNull(pwd)) { - pwd = PASSWORDENCODER.encode("000000"); + return ApiResult.success(StrUtil.equals(password, "000000")); } if (!PASSWORDENCODER.matches(password, pwd.toString())) { return ApiResult.error("查看密码不正确");