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