|
@ -11,6 +11,8 @@ import org.apache.logging.log4j.Logger; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.transform.Result; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @author wangtong |
|
|
* @author wangtong |
|
|
* @describe: 推送项目相关信息到市平台 |
|
|
* @describe: 推送项目相关信息到市平台 |
|
@ -28,7 +30,7 @@ public class CityGridApiImpl implements CityGridApi { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void sendItemToCity(Object dataInfo, String httpUrl, String interFaceName) { |
|
|
public JSONObject sendItemToCity(Object dataInfo, String httpUrl, String interFaceName) { |
|
|
String data = JSONObject.toJSONString(dataInfo); |
|
|
String data = JSONObject.toJSONString(dataInfo); |
|
|
LOGGER.info("发送参数:" + data); |
|
|
LOGGER.info("发送参数:" + data); |
|
|
LOGGER.info("发送地址:" + httpUrl); |
|
|
LOGGER.info("发送地址:" + httpUrl); |
|
@ -60,10 +62,8 @@ public class CityGridApiImpl implements CityGridApi { |
|
|
LOGGER.error(interFaceName + "返回结果处理错误:" + e.getMessage()); |
|
|
LOGGER.error(interFaceName + "返回结果处理错误:" + e.getMessage()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void appealDispatchToCity(Object data, String httpUrl, String interFaceName) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return res; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|