mitao
2024-03-06 0f2843a5f33c3319f5d95ca76c458da53728431e
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/MsgUtils.java
@@ -23,8 +23,7 @@
public class MsgUtils {
    public static void sendMsg(String phoneNumber,Integer sendType,String sendContent) throws Exception {
    public static void sendMsg(String phoneNumber,String templateCode,String sendContent) throws Exception {
        StaticCredentialProvider provider = StaticCredentialProvider.create(Credential.builder()
                .accessKeyId("LTAI5tAfKFuhyKFH12CTkXFj")
@@ -43,7 +42,8 @@
        SendSmsRequest sendSmsRequest = SendSmsRequest.builder()
                .phoneNumbers(phoneNumber)
                .signName("鸿瑞堂")
                .templateCode("SMS_234035865")
                .templateCode(templateCode)
                .templateParam(sendContent)
                .build();
        CompletableFuture<SendSmsResponse> response = client.sendSms(sendSmsRequest);