调整短信模板

This commit is contained in:
2023-06-29 14:27:24 +08:00
parent 86abd2458e
commit 9754bf8e6d
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ public enum MessageEnum {
LOGIN(0, "SMS_176180086"),
REGISTER(1, "SMS_175995085"),
UPDATE_PASSWORD(2,"SMS_175995084"),
DEFAULT_PASSWORD(3,"SMS_212270827"),
DEFAULT_PASSWORD(3,"SMS_461665031"),
UPDATE_PHONE(4, "SMS_175583840"),
RESET_PWD(5, "SMS_176195072"),

View File

@@ -85,7 +85,7 @@
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.2.2</version>
<executions>
<!--执行mvn package,即执行 mvn clean package docker:build-->
<execution>

View File

@@ -321,7 +321,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, User> impleme
* @param userId
*/
public void sendPasswordMessage(String phone, String userId) {
String msgTemplate = MessageEnum.getTemplateByCode(1);
String msgTemplate = MessageEnum.getTemplateByCode(3);
//开始执行短信发送
//设置超时时间-可自行调整
System.setProperty("sun.net.client.defaultConnectTimeout", "10000");