提交 32e71503 authored 作者: inroi's avatar inroi

微调

上级 17a4c3cf
...@@ -59,7 +59,6 @@ public class CommonHttpApi { ...@@ -59,7 +59,6 @@ public class CommonHttpApi {
if (StringUtil.isNotNull(initConnectParam)) { if (StringUtil.isNotNull(initConnectParam)) {
mallAddress = initConnectParam.getMallAddress(); mallAddress = initConnectParam.getMallAddress();
receiveAddress = initConnectParam.getReceiveAddress(); receiveAddress = initConnectParam.getReceiveAddress();
System.out.println(this.receiveAddress);
} }
} }
...@@ -108,7 +107,7 @@ public class CommonHttpApi { ...@@ -108,7 +107,7 @@ public class CommonHttpApi {
public String commonHttpSync(List<Integer> idList) { public String commonHttpSync(List<Integer> idList) {
try { try {
if (flag) { if (flag) {
return HttpUtil.httpPost(mallAddress + "api/dataSyn/getSyn", header, JsonUtil.toString(idList)).getBody(); return HttpUtil.httpPost(mallAddress + "wx/api/dataSyn/getSyn", header, JsonUtil.toString(idList)).getBody();
} else { } else {
throw new MallCommonException(LOGIN_MESSAGE); throw new MallCommonException(LOGIN_MESSAGE);
} }
...@@ -121,7 +120,7 @@ public class CommonHttpApi { ...@@ -121,7 +120,7 @@ public class CommonHttpApi {
public String commonHttpPostByUpdate(String data) { public String commonHttpPostByUpdate(String data) {
try { try {
if (flag) { if (flag) {
return HttpUtil.httpPost(mallAddress + "api/dataSyn/success", header, data).getBody(); return HttpUtil.httpPost(mallAddress + "wx/api/dataSyn/success", header, data).getBody();
} else { } else {
throw new MallCommonException(LOGIN_MESSAGE); throw new MallCommonException(LOGIN_MESSAGE);
} }
...@@ -140,7 +139,7 @@ public class CommonHttpApi { ...@@ -140,7 +139,7 @@ public class CommonHttpApi {
request.putAll(where); request.putAll(where);
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
String response = HttpUtil.httpPost(mallAddress + "api/dataSyn/synData", header, JsonUtil.toString(request)).getBody(); String response = HttpUtil.httpPost(mallAddress + "wx/api/dataSyn/synData", header, JsonUtil.toString(request)).getBody();
long costTime = System.currentTimeMillis() - start; long costTime = System.currentTimeMillis() - start;
Map<String, Object> map = ThreadLocalConfig.get(); Map<String, Object> map = ThreadLocalConfig.get();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论