|
|
@@ -57,7 +57,7 @@ public class WxPushServiceImpl implements WxPushService{
|
|
|
params.put("appid", appId);
|
|
|
params.put("secret", secret);
|
|
|
params.put("grant_type", "client_credential");
|
|
|
- HttpRequest httpRequest= HttpRequest.get("https://api.weixin.qq.com/cgi-bin/token",params,false);
|
|
|
+ HttpRequest httpRequest= HttpRequest.get("https://api.weixin.qq.com/sns/oauth2/access_token",params,false);
|
|
|
String content=httpRequest.body();
|
|
|
// System.err.println("WxPushToken======"+content);
|
|
|
return content;
|