|
@ -72,6 +72,8 @@ public class ShiBeiCityGridApiImpl implements ShiBeiCityGridApi { |
|
|
@Override |
|
|
@Override |
|
|
public SendEventResultDto sendEvent(SendEventFormDto sendEventFormDto) { |
|
|
public SendEventResultDto sendEvent(SendEventFormDto sendEventFormDto) { |
|
|
String json = JSONObject.toJSONString(sendEventFormDto); |
|
|
String json = JSONObject.toJSONString(sendEventFormDto); |
|
|
|
|
|
// 百分号解析问题
|
|
|
|
|
|
json.replace("%","%"); |
|
|
String data = "content="+ json; |
|
|
String data = "content="+ json; |
|
|
LOGGER.info("发送地址:"+ApiConstants.sendEventUrl + "||发送参数:" + data); |
|
|
LOGGER.info("发送地址:"+ApiConstants.sendEventUrl + "||发送参数:" + data); |
|
|
HttpResponse response = null; |
|
|
HttpResponse response = null; |
|
|