Commit efb25a22 authored by 刘基明's avatar 刘基明

屏蔽手机号

parent bb3d1f69
...@@ -88,8 +88,10 @@ public class ThemeService { ...@@ -88,8 +88,10 @@ public class ThemeService {
//根据id返回主题详情(未删) //根据id返回主题详情(未删)
public ThemeEntity queryByThemeIdIgnoreDelete(String themeId) { public ThemeEntity queryByThemeIdIgnoreDelete(String themeId) {
return themeMapper.selectOne(new LambdaQueryWrapper<ThemeEntity>() ThemeEntity themeEntity = themeMapper.selectOne(new LambdaQueryWrapper<ThemeEntity>()
.eq(ThemeEntity::getThemeId, themeId)); .eq(ThemeEntity::getThemeId, themeId));
themeEntity.setContent(OtherUtil.blockPhoneAndEmail(themeEntity.getContent()));
return themeEntity;
} }
//根据用户id查询主题list //根据用户id查询主题list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment