| | |
| | | @Slf4j |
| | | public class AliSmsService { |
| | | |
| | | private final static String ACCESS_KEY_ID = "LTAI5tMkg7wwV74a8H6Bm3Ej"; |
| | | private final static String ACCESS_KEY_SECRET = "FcHKST36sfwfo706L6bvrweGFIbp3n"; |
| | | private final static String SING_NAME = "橙桔天下科技"; |
| | | private final static String ACCESS_KEY_ID = "LTAI5t835zTU4aaYpGHJCccJ"; |
| | | private final static String ACCESS_KEY_SECRET = "98sAF2NchWVuIzu62zcLq0Ns7LIQTp"; |
| | | private final static String SING_NAME = "南京三只鹤"; |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | Map<String,Object> tempParam = new java.util.HashMap<>(); |
| | | tempParam.put("order","葡萄采摘工"); |
| | | tempParam.put("time1","07-23"); |
| | | tempParam.put("time2","07-24"); |
| | | AliSmsService.sendSms("18055151023","SMS_491055243", JSONObject.toJSONString(tempParam)); |
| | | tempParam.put("code","1234"); |
| | | AliSmsService.sendSms("15345690849","SMS_333770877", JSONObject.toJSONString(tempParam)); |
| | | } |
| | | |
| | | |