Commit 5e7b89ed authored by Quxl's avatar Quxl

x

parent 0343eb84
......@@ -63,7 +63,7 @@ public class QiyeWxServiceImpl implements QiyeWxService {
}
}
String requestUrl = baseUrl + MessageFormat.format(UrlGetToken, corpid, corpsecret);
HttpRespObject resp = HttpUtil.newInstance().setSSLVersion(SSLVersion.SSLv3).post(new HttpReqObject(requestUrl, null, null));
HttpRespObject resp = HttpUtil.newInstance().setSSLVersion(SSLVersion.SSLv3).get(new HttpReqObject(requestUrl, null, null));
if(resp.getHttpCode() == 200) {
String text = resp.getResponseBody();
JSONObject tokenObject = JSON.parseObject(text);
......
......@@ -81,7 +81,7 @@ wx.md5Key=FFRlbnBheS5jb20gQ0EgQ2VudGVyMRsw
wx.appSecret=eac5fb2d91004f89dcfb3c7bfc8aac96
qiyewx.corpid=ww0e86cf527e3e5218
qiyewx.corpsecret=n6weRHp134mpOF3AUPuyEDrUW8zdoG22wuk1hyfXuZAz
qiyewx.corpsecret=n6weRHp134mpOF3AUPuyEDrUW8zdoG22wuk1hyfXuZA
qiyewx.baseUrl=https://qyapi.weixin.qq.com/cgi-bin
qiyewx.msg.redirect.appid=wxa573a87e45933b56
......
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