参数被写死问题还原
This commit is contained in:
parent
9b7f5f30fa
commit
ba81cc5ece
@ -68,7 +68,7 @@ public class WechatAccessTokenUtil {
|
|||||||
}
|
}
|
||||||
//获取token
|
//获取token
|
||||||
String content = HttpUtil.get("https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential" +
|
String content = HttpUtil.get("https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential" +
|
||||||
"&appid=wx6cfbe6e0ace12ce8&secret=6dfbe0c72380dce5d49d65b3c91059b1");
|
"&appid=" + item.getAppId() + "&secret=" + item.getAppSecret());
|
||||||
|
|
||||||
JSONObject object = new JSONObject(content);
|
JSONObject object = new JSONObject(content);
|
||||||
log.info("token获取【" + clientTypeEnum.name() + "】返回" + object.toString());
|
log.info("token获取【" + clientTypeEnum.name() + "】返回" + object.toString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user