Commit 5b6c7c0f authored by 张永's avatar 张永

111

parent d356e028
...@@ -27,6 +27,7 @@ import com.alibaba.fastjson.JSONObject; ...@@ -27,6 +27,7 @@ import com.alibaba.fastjson.JSONObject;
import com.egolm.common.DateUtil; import com.egolm.common.DateUtil;
import com.egolm.common.FileUtil; import com.egolm.common.FileUtil;
import com.egolm.common.GsonUtil; import com.egolm.common.GsonUtil;
import com.egolm.common.HttpUtil;
import com.egolm.common.HttpsUtil; import com.egolm.common.HttpsUtil;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.common.Util; import com.egolm.common.Util;
...@@ -472,7 +473,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -472,7 +473,7 @@ public class OrderServiceImpl implements OrderService {
Map<String,Object> setMap = jdbcTemplate.queryForMap(ssql); Map<String,Object> setMap = jdbcTemplate.queryForMap(ssql);
String url = setMap.get("sValue1")+""; String url = setMap.get("sValue1")+"";
if(StringUtil.isNotBlank(url)) { if(StringUtil.isNotBlank(url)) {
String result = HttpsUtil.doGet(url+"?salesOrderID="+salesOrderID); String result = HttpUtil.get(url+"?salesOrderID="+salesOrderID);
logger.info("推送到蔬东坡的订单 :{},结果:{} ",salesOrderID,result); logger.info("推送到蔬东坡的订单 :{},结果:{} ",salesOrderID,result);
}else { }else {
logger.info("推送到蔬东坡的订单: {} 地址未配置 ",salesOrderID); logger.info("推送到蔬东坡的订单: {} 地址未配置 ",salesOrderID);
......
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