Commit 90ffae97 by zhangxingmin

push

parent 3215d3d8
...@@ -62,9 +62,9 @@ public class ApiSubscribeRecordServiceImpl implements ApiSubscribeRecordService ...@@ -62,9 +62,9 @@ public class ApiSubscribeRecordServiceImpl implements ApiSubscribeRecordService
String activeProfile = env.getProperty("spring.profiles.active", "dev"); String activeProfile = env.getProperty("spring.profiles.active", "dev");
log.info("当前环境: {}, 获取 SFP API 地址", activeProfile); log.info("当前环境: {}, 获取 SFP API 地址", activeProfile);
if ("prod".equalsIgnoreCase(activeProfile)) { if ("prod".equalsIgnoreCase(activeProfile)) {
return "https://center.supguard.cn/sfpApi"; // 生产环境 return "https://hoservice.ydhomeoffice.cn/hoserviceApi"; // 生产环境
} else { } else {
return "https://hoservice.ydhomeoffice.cn/hoserviceApi"; // 测试/开发环境 return "https://mdev.anjibao.cn/sfpApi"; // 测试/开发环境
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment