From 528fe7684f6f4d22b9011d6983cbd28be4e0809f Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Tue, 11 Jul 2023 10:21:32 +0800 Subject: [PATCH] update --- .../modules/admin/service/impl/AppUserServiceImpl.java | 4 +++- .../linfeng/modules/app/controller/AppUserInfoController.java | 2 +- src/main/resources/application.yml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java index 4534dd6..568bf69 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java @@ -333,7 +333,9 @@ public class AppUserServiceImpl extends ServiceImpl i public List userRank() { DateTime month = cn.hutool.core.date.DateUtil.beginOfMonth(new Date()); - List postList = postService.lambdaQuery().gt(PostEntity::getCreateTime, month).list(); + List postList = postService.lambdaQuery() + .gt(PostEntity::getCreateTime, month) + .list(); if(postList.isEmpty()){ return new ArrayList<>(); } diff --git a/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java b/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java index 97f4ac8..34f4412 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppUserInfoController.java @@ -62,7 +62,7 @@ public class AppUserInfoController { //TODO //send Aliyun Sms code } - return R.ok("测试阶段验证码:" + code); + return R.ok("测试验证码:" + code); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6ff69d0..326debf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -91,7 +91,7 @@ oss: max-size: 10 admin-max-size: 5 -# 是否开启短信验证码 +# 是否开启短信验证码 todo sms: open: false