| | |
| | | return new com.aliyun.dysmsapi20170525.Client(config); |
| | | } |
| | | |
| | | private static final String SIGNNAME = "药王谷铺子"; |
| | | private static final String TEMPLATECODE = "SMS_465075162"; |
| | | private static final String SIGNNAME = "惠州象山药王谷种养科技"; |
| | | private static final String TEMPLATECODE = "SMS_302687291"; |
| | | public static boolean sendALiYun(String phone,String TemplateParam){ |
| | | com.aliyun.dysmsapi20170525.Client client = null; |
| | | try { |
| | | client = createClient("LTAI4GBuydqbJ5bTsDP97Lpd", "vbCjQtPxABWjqtUlQfzjlA0qAY96fh"); |
| | | client = createClient("LTAI5tF6sVZ4crvpoCcgQMxJ", "VO3omrEnPJ3Fasc7RyMFmvVZm2lXlk"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return false; |