This commit is contained in:
linfeng 2023-07-11 10:21:32 +08:00
parent 2148b37358
commit 528fe7684f
3 changed files with 5 additions and 3 deletions

View File

@ -333,7 +333,9 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
public List<AppUserRankResponse> userRank() {
DateTime month = cn.hutool.core.date.DateUtil.beginOfMonth(new Date());
List<PostEntity> postList = postService.lambdaQuery().gt(PostEntity::getCreateTime, month).list();
List<PostEntity> postList = postService.lambdaQuery()
.gt(PostEntity::getCreateTime, month)
.list();
if(postList.isEmpty()){
return new ArrayList<>();
}

View File

@ -62,7 +62,7 @@ public class AppUserInfoController {
//TODO
//send Aliyun Sms code
}
return R.ok("测试阶段验证码:" + code);
return R.ok("测试验证码:" + code);
}

View File

@ -91,7 +91,7 @@ oss:
max-size: 10
admin-max-size: 5
# 是否开启短信验证码
# 是否开启短信验证码 todo
sms:
open: false