V1.3发布

This commit is contained in:
linfeng 2022-05-13 22:44:37 +08:00
parent c7e6667f8f
commit ad0772f785
2 changed files with 15 additions and 4 deletions

View File

@ -45,6 +45,10 @@
2. 数据库请使用MySQL5.7,其他版本可能会有问题 2. 数据库请使用MySQL5.7,其他版本可能会有问题
3. 配置后台前端 先npm install 下载依赖后再npm run dev即可 3. 配置后台前端 先npm install 下载依赖后再npm run dev即可
**林风社交论坛项目文档地址**https://www.kancloud.cn/linfengkj/linfeng_community/2754703
项目地址: 项目地址:
https://gitee.com/virus010101/linfeng-community https://gitee.com/virus010101/linfeng-community
@ -69,11 +73,11 @@ https://github.com/virus010101/linfeng-community
#### 5.版本更新记录 #### 5.版本更新记录
当前演示版本为携带V1.3部分功能的测试版V1.3功能预告(五月发布):新增小程序端微信支付,付费贴,钱包体系,用户账单,积分体系,积分钱包兑换)
<u>2022.5.7-5.11</u>
**V1.3(测试版)发布** <u>2022.5.14</u>
**V1.3(正式版)发布**
1.优化私聊功能及时性 1.优化私聊功能及时性
@ -109,6 +113,8 @@ https://github.com/virus010101/linfeng-community
17.新增视频模块和充值模块显示配置 17.新增视频模块和充值模块显示配置
18.新增积分兑换余额模块
<u>2022.4.24</u> <u>2022.4.24</u>
**V1.2.2发布** **V1.2.2发布**

View File

@ -30,12 +30,17 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
@Override @Override
public PageUtils queryPage(Map<String, Object> params) { public PageUtils queryPage(Map<String, Object> params) {
QueryWrapper<AppUserEntity> queryWrapper=new QueryWrapper<>(); QueryWrapper<AppUserEntity> queryWrapper=new QueryWrapper<>();
//模糊查询
String key = (String)params.get("key");
if(!WechatUtil.isEmpty(key)){
params.put("page","1");//如果是查询分页重置为第一页
queryWrapper.like("username", key).or().like("mobile",key);
}
queryWrapper.lambda().orderByDesc(AppUserEntity::getUid); queryWrapper.lambda().orderByDesc(AppUserEntity::getUid);
IPage<AppUserEntity> page = this.page( IPage<AppUserEntity> page = this.page(
new Query<AppUserEntity>().getPage(params), new Query<AppUserEntity>().getPage(params),
queryWrapper queryWrapper
); );
return new PageUtils(page); return new PageUtils(page);
} }