From 0d70bf682c2303b4f07216110ff051959884cbb4 Mon Sep 17 00:00:00 2001 From: xuefei <564615061@qq.cm> Date: 星期一, 08 五月 2023 14:44:00 +0800 Subject: [PATCH] 登录密码验证base64加密 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java index e2a6718..998f23d 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java @@ -43,6 +43,11 @@ wrapper.eq("customer_id",id); wrapper.eq("status",1); List<CustomerReceive> list = iCustomerReceiveService.list(wrapper); + for (CustomerReceive customerReceive : list) { + if(StrUtil.isBlank(customerReceive.getPhone())){ + customerReceive.setPhone(" "); + } + } customer.setReceives(list); return new ResultUtil<Customer>().setData(customer); } -- Gitblit v1.9.1