提交代码

pre
胡锐 1 month ago
commit 7871f93dc4
  1. 6
      service/pom.xml
  2. 2
      service/src/main/java/com/hfkj/config/AliMessageConfig.java

@ -255,6 +255,12 @@
<artifactId>jetcache-starter-redis</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dysmsapi20170525</artifactId>
<!-- 请将 'the-latest-version' 替换为最新版本号:https://mvnrepository.com/artifact/com.aliyun/dysmsapi20170525 -->
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-mqtt</artifactId>

@ -34,7 +34,7 @@ public class AliMessageConfig {
SendSmsRequest sendSmsRequest = new SendSmsRequest()
.setPhoneNumbers(phone)
.setSignName("重庆惠付科技有限公司")
.setTemplateCode("SMS_480970320")
.setTemplateCode("SMS_481195265")
// TemplateParam为序列化后的JSON字符串。其中\"表示转义后的双引号。
.setTemplateParam(jsonObject.toJSONString());

Loading…
Cancel
Save