|
@@ -123,7 +123,8 @@ public class SmsPlatformUtils {
|
|
|
// post发送请求
|
|
|
// 互联网地址测试:10.113.50.2:18010
|
|
|
// 政务外网正式:172.19.150.2:18003
|
|
|
- ResponseEntity<String> exchange = restTemplate.exchange("http://59.212.117.83:18003/sms/api/smsData.do?addMessage&data=" + data, HttpMethod.POST, null, String.class);
|
|
|
+ // 测试地址:59.212.117.83:18003
|
|
|
+ ResponseEntity<String> exchange = restTemplate.exchange("http://172.19.150.2:18003/sms/api/smsData.do?addMessage&data=" + data, HttpMethod.POST, null, String.class);
|
|
|
//获取idaas返回的json
|
|
|
String resData = exchange.getBody();
|
|
|
return resData;
|