调整短信模板
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user