|
|
@@ -134,7 +134,7 @@ public class WeChatService {
|
|
|
|
|
|
//请求微信
|
|
|
HttpResponse response = HttpRequest.get(WeChatApi.getWeiXinH5AccessToken.getApi())
|
|
|
- .form("appid", "client_credential")
|
|
|
+ .form("appid", config.getAppId())
|
|
|
.form("secret", config.getAppSecret())
|
|
|
.form("code", code)
|
|
|
.form("grant_type", "authorization_code")
|