发帖达人备注

This commit is contained in:
linfeng 2023-12-04 11:07:47 +08:00
parent 0713ff1e6f
commit 805d2abb73
2 changed files with 5 additions and 1 deletions

View File

@ -353,6 +353,10 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
}
}
/**
* 查询本月发帖活跃用户
* @return 发帖达人列表
*/
@Override
public List<AppUserRankResponse> userRank() {
DateTime month = cn.hutool.core.date.DateUtil.beginOfMonth(new Date());

View File

@ -20,7 +20,7 @@
<!-- 帖子列表 -->
<post-list :list="postList" :loadStatus="loadPostStatus"></post-list>
</view>
<!-- 发帖达人 -->
<!-- 发帖达人查询本月发帖活跃用户 -->
<view v-show="pageCurrent == 1">
<navigator :url="'/pages/user/home?uid=' + item.uid" class="user-item" hover-class="none"
v-for="(item, index) in userList" :key="index">