添加运营系统服务地址配置

parent 09a8eafe
......@@ -59,6 +59,10 @@ public class UserQueryLogController {
private String payCenterUrl;
@Value("${xyqb.paycenter.id}")
private String payCenterId;
@Value("${xyqb.yunying.url}")
private String yunyingUrl;
@Autowired
private IHttpService httpService;
......@@ -451,9 +455,8 @@ public class UserQueryLogController {
HashMap<String, String> parameters = new HashMap<>();
parameters.put("token", token);
String url="http://192.168.4.50:7047";
//访问用户中心查询用户银行卡接口
String resultStr = httpService.post(url + "/user/info", parameters);
String resultStr = httpService.post(yunyingUrl + "/user/info", parameters);
try{
JsonObject resultUser = new JsonParser().parse(resultStr).getAsJsonObject();
if(resultUser.get("code").getAsString().equals("0000")&&resultUser.get("data").getAsJsonObject()!=null){
......
......@@ -92,4 +92,7 @@ xyqb.user.query.url=http://192.168.11.40:8081
xyqb.domain = http://192.168.4.153:7003
xyqb.paycenter.url=http://192.168.4.26:7006
xyqb.paycenter.id=3
\ No newline at end of file
xyqb.paycenter.id=3
#运营系统认证地址
xyqb.yunying.url=http://192.168.4.50:7047
\ No newline at end of file
......@@ -56,4 +56,6 @@ xyqb.user.query.url=http://userqry.xyqb.com
xyqb.domain = http://api.xyqb.com
xyqb.paycenter.url=http://payapi.xyqb.com/
xyqb.paycenter.id=3
\ No newline at end of file
xyqb.paycenter.id=3
#内部运营系统
xyqb.yunying.url=http://192.168.4.50:7047
\ No newline at end of file
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