手机号去掉

This commit is contained in:
liuyang
2025-11-21 15:11:39 +08:00
parent c7b97711d0
commit 4788ad1732

View File

@@ -15,6 +15,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.stream.Collectors;
@RestController
@RequestMapping("/cms/wechatGroup")
@@ -60,6 +61,8 @@ public class WechatGroupController extends BaseController {
public List<WechatGroupVo> enableList() {
WechatGroup wechatGroup = new WechatGroup();
wechatGroup.setIsPush(1);
return wechatGroupService.selectWechatGroupList(wechatGroup);
return wechatGroupService.selectWechatGroupList(wechatGroup)
.stream().peek(e->e.setPhoneNumber(""))
.collect(Collectors.toList());
}
}