| | |
| | | |
| | | 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); |
| | |
| | | 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"); |
| | | } |