update
This commit is contained in:
parent
2148b37358
commit
528fe7684f
@ -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<>();
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ public class AppUserInfoController {
|
||||
//TODO
|
||||
//send Aliyun Sms code
|
||||
}
|
||||
return R.ok("测试阶段验证码:" + code);
|
||||
return R.ok("测试验证码:" + code);
|
||||
}
|
||||
|
||||
|
||||
|
@ -91,7 +91,7 @@ oss:
|
||||
max-size: 10
|
||||
admin-max-size: 5
|
||||
|
||||
# 是否开启短信验证码
|
||||
# 是否开启短信验证码 todo
|
||||
sms:
|
||||
open: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user