liujie
2025-09-04 ac542add19d10cd1a2d5efe36d762cec9c7df5b4
ruoyi-common/src/main/java/com/ruoyi/common/utils/AliSmsUtil.java
@@ -24,6 +24,10 @@
    private static final String TEMPLATE_CODE_SELLER = "SMS_491135055";
    private static final String TEMPLATE_CODE_PAY = "SMS_493930233";
    private static final String TEMPLATE_CODE_PAY_SELLER = "SMS_493695208";
    public static void sendSuccessMessage(String phone,String code) {
        Map<String, String> param = new HashMap<>(3);
@@ -31,12 +35,24 @@
        sendSms(phone,SIGN_NAME,TEMPLATE_CODE,param);
    }
    // 提醒卖家
    // 提醒卖家预定信息
    public static void sendSuccessMessageSeller(String phone) {
        Map<String, String> param = new HashMap<>(3);
        sendSms(phone,SIGN_NAME,TEMPLATE_CODE_SELLER,param);
    }
    // 提醒买家去支付
    public static void sendGoPayMessageBuyer(String phone) {
        Map<String, String> param = new HashMap<>(3);
        sendSms(phone,SIGN_NAME,TEMPLATE_CODE_PAY,param);
    }
    // 提醒卖家支付完成
    public static void sendPaySuccessMessageSeller(String phone) {
        Map<String, String> param = new HashMap<>(3);
        sendSms(phone,SIGN_NAME,TEMPLATE_CODE_PAY_SELLER,param);
    }
    public static void main(String[] args) {
        sendSuccessMessageSeller("17828262728");
    }