推送接口修改
This commit is contained in:
parent
7456d374ea
commit
0c4949f672
|
|
@ -28,7 +28,7 @@ import java.util.stream.Collectors;
|
||||||
public class CostPushServiceImpl implements CostPushService {
|
public class CostPushServiceImpl implements CostPushService {
|
||||||
|
|
||||||
// 工器具费用推送接口
|
// 工器具费用推送接口
|
||||||
public static final String GQJ_PUSH_URL = "http://10.138.55.113:8036/micro-server/zygqj/syncProjectCostsData";
|
public static final String GQJ_PUSH_URL = "http://10.99.30.251:8036/micro-server/zygqj/syncProjectCostsData";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private CostPushMapper dao;
|
private CostPushMapper dao;
|
||||||
|
|
|
||||||
|
|
@ -969,7 +969,7 @@ public class IwsCostPushServiceImpl implements IwsCostPushService {
|
||||||
Map<String, String> map = new HashMap<>();
|
Map<String, String> map = new HashMap<>();
|
||||||
map.put("body", encrypt);
|
map.put("body", encrypt);
|
||||||
String body = JSONObject.toJSONString(map);
|
String body = JSONObject.toJSONString(map);
|
||||||
String url = "http://10.138.55.113:8036/micro-server/zzaqgjf/syncSafetyTool";
|
String url = "http://10.99.30.251:8036/micro-server/zzaqgjf/syncSafetyTool";
|
||||||
// String url = "http://10.138.55.105:8097/micro-server/zzaqgjf/syncSafetyTool";
|
// String url = "http://10.138.55.105:8097/micro-server/zzaqgjf/syncSafetyTool";
|
||||||
// String url = "http://192.168.1.121:8036/micro-server/zzaqgjf/syncSafetyTool";
|
// String url = "http://192.168.1.121:8036/micro-server/zzaqgjf/syncSafetyTool";
|
||||||
String data = HttpHelper.sendHttpPostPushCost(url, body);
|
String data = HttpHelper.sendHttpPostPushCost(url, body);
|
||||||
|
|
@ -1068,7 +1068,7 @@ public class IwsCostPushServiceImpl implements IwsCostPushService {
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
map.put("body", encrypt);
|
map.put("body", encrypt);
|
||||||
String body = JSONObject.toJSONString(map);
|
String body = JSONObject.toJSONString(map);
|
||||||
String url = "http://10.138.55.113:8036/micro-server/consumetool/syncConsumeTool";
|
String url = "http://10.99.30.251:8036/micro-server/consumetool/syncConsumeTool";
|
||||||
// String url = "http://10.138.55.105:8097/micro-server/zzaqgjf/syncSafetyTool";
|
// String url = "http://10.138.55.105:8097/micro-server/zzaqgjf/syncSafetyTool";
|
||||||
// String url = "http://192.168.1.121:8036/micro-server/zzaqgjf/syncSafetyTool";
|
// String url = "http://192.168.1.121:8036/micro-server/zzaqgjf/syncSafetyTool";
|
||||||
String data = HttpHelper.sendHttpPostPushCost(url, body);
|
String data = HttpHelper.sendHttpPostPushCost(url, body);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue