From 02f4836109fc5161f136cb46a72fcf155236d7d7 Mon Sep 17 00:00:00 2001 From: mzh820631607 Date: Fri, 13 Nov 2020 12:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E8=AE=B0=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/msdw/tms/api/UserInfoControllerApi.java | 2 +- .../java/com/msdw/tms/config/EmailUtils.java | 4 ++-- .../tms/service/impl/UserInfoServiceImpl.java | 17 +++++++++++------ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/msdw/tms/api/UserInfoControllerApi.java b/src/main/java/com/msdw/tms/api/UserInfoControllerApi.java index 8ca2c5d..49e38c5 100644 --- a/src/main/java/com/msdw/tms/api/UserInfoControllerApi.java +++ b/src/main/java/com/msdw/tms/api/UserInfoControllerApi.java @@ -30,7 +30,7 @@ public interface UserInfoControllerApi { @ApiOperation(value = "发送验证码",notes = "发送验证码") R findPassword(@ApiParam(value = "账号",required = true) String account, - @ApiParam(value = "发送类型(1手机,2邮箱)",required = true) Integer type); + @ApiParam(value = "发送类型(1邮箱,2手机)",required = true) Integer type); @ApiOperation(value = "校验验证码",notes = "校验验证码") R checkCode(@ApiParam(value = "用户id和验证码") CheckVo checkVo); diff --git a/src/main/java/com/msdw/tms/config/EmailUtils.java b/src/main/java/com/msdw/tms/config/EmailUtils.java index 8d12a3e..cee3b26 100644 --- a/src/main/java/com/msdw/tms/config/EmailUtils.java +++ b/src/main/java/com/msdw/tms/config/EmailUtils.java @@ -18,9 +18,9 @@ public class EmailUtils { //授权码 private static final String AUTHORIZATION_CODE = "ZPAASKPCYJDIFFDR"; //邮件标题 - private static final String EMAILHEAD = "京喜"; + private static final String EMAILHEAD = "职站"; //邮件信息(后接验证码)头部信息 - private static final String EMAILMASSAGEHEAD = "尊敬的用户您好,您本次注册的验证码是: "; + private static final String EMAILMASSAGEHEAD = "尊敬的用户您好,您本次的验证码是: "; //邮件信息(后接验证码)尾部信息 private static final String EMAILMASSAGETAIL = ",有效时间为5分钟"; diff --git a/src/main/java/com/msdw/tms/service/impl/UserInfoServiceImpl.java b/src/main/java/com/msdw/tms/service/impl/UserInfoServiceImpl.java index 12b599a..294a87e 100644 --- a/src/main/java/com/msdw/tms/service/impl/UserInfoServiceImpl.java +++ b/src/main/java/com/msdw/tms/service/impl/UserInfoServiceImpl.java @@ -161,18 +161,18 @@ public class UserInfoServiceImpl extends ServiceImpl