Commit f1c21f90 authored by Quxl's avatar Quxl

x

parent 6a6b73cf
...@@ -84,14 +84,8 @@ public class QiyeWxServiceImpl implements QiyeWxService { ...@@ -84,14 +84,8 @@ public class QiyeWxServiceImpl implements QiyeWxService {
String requestUrl = baseUrl + MessageFormat.format(UrlSendMsg, tokenString); String requestUrl = baseUrl + MessageFormat.format(UrlSendMsg, tokenString);
Map<String, String> headers = new HashMap<String, String>(); Map<String, String> headers = new HashMap<String, String>();
headers.put("content-type", "application/x-www-form-urlencoded"); headers.put("content-type", "application/x-www-form-urlencoded");
HttpRespObject resp = HttpUtil.newInstance().setSSLVersion(SSLVersion.SSLv3).postJson(new JsonReqObject(requestUrl, wxMessage, headers)); HttpUtil.newInstance().setSSLVersion(SSLVersion.SSLv3).postJson(new JsonReqObject(requestUrl, wxMessage, headers));
Integer httpCode = resp.getHttpCode();
if(httpCode == 200) {
}
} }
} }
......
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