环境变更
This commit is contained in:
parent
7f7b70c911
commit
a25b8d3321
@ -17,6 +17,7 @@ public class CorsConfig{
|
||||
// config.addAllowedOrigin("*");
|
||||
// config.addAllowedOrigin("http://10.75.253.12:6090");
|
||||
// config.addAllowedOrigin("http://183.63.230.59:6090");
|
||||
config.addAllowedOrigin("https://hyjgxt.cn:6090");
|
||||
config.addAllowedOrigin("https://xmgl.hyjgxt.cn:6090");
|
||||
config.addAllowedHeader("*");
|
||||
config.addAllowedMethod("*");
|
||||
|
||||
@ -55,7 +55,7 @@ public class SMS {
|
||||
// System.out.println(ret);
|
||||
|
||||
try {
|
||||
String result = HttpUtil.doPost("http://"+host+"/sms/message/informAlarm", params.toJSONString());
|
||||
String result = HttpUtil.doPost("https://"+host+"/sms/message/informAlarm", params.toJSONString());
|
||||
System.out.println(result);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
@ -64,7 +64,7 @@ public class SMS {
|
||||
|
||||
public static void sendToPhone_YZM(JSONObject params) {
|
||||
try {
|
||||
String result = HttpUtil.doPost("http://" + host + "/sms/message/code", params.toJSONString());
|
||||
String result = HttpUtil.doPost("https://" + host + "/sms/message/code", params.toJSONString());
|
||||
System.out.println(result);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user