|
|
@ -45,6 +45,9 @@ public class AliyunSmsUtils { |
|
|
|
private static String poStartService = "SMS_475920915"; |
|
|
|
private static String poCreatePetAndService = "SMS_475980895"; |
|
|
|
|
|
|
|
// 【猫妈狗爸】订单编号:【订单编号字段】长时间无人接单,请处理! |
|
|
|
private static String longTimeNoOrderAccepted = "SMS_488875138"; |
|
|
|
|
|
|
|
@SneakyThrows(Exception.class) |
|
|
|
public AliyunSmsUtils(SmsProperties smsProperties) { |
|
|
|
if (client == null) { |
|
|
@ -168,4 +171,11 @@ public class AliyunSmsUtils { |
|
|
|
|
|
|
|
return send(phones, bcshOrderComplete, param); |
|
|
|
} |
|
|
|
|
|
|
|
public static SmsResult sendLongTimeNoOrderAccepted(String phones, String orderId) { |
|
|
|
log.info("【短信发送】通知管理员长时间无人接单,请处理!"); |
|
|
|
Map<String, String> param = new HashMap<>(); |
|
|
|
param.put("order_id", orderId); |
|
|
|
return send(phones, longTimeNoOrderAccepted, param); |
|
|
|
} |
|
|
|
} |