소스 검색

fix 公众号支付

he2802 4 년 전
부모
커밋
9f88cc0bcd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

@@ -60,7 +60,7 @@ public class WxLoginService
 
     private String gzh_wxAuthParam = "appid=%s&secret=%s&code=%s&grant_type=authorization_code";
 
-    private String gzh_wxUserInfoUrl = "https://api.weixin.qq.com/cgi-bin/user/info";
+    private String gzh_wxUserInfoUrl = "https://api.weixin.qq.com/sns/userinfo";
 
     private String gzh_wxUserInfoParam = "access_token=%s&openid=%s&lang=zh_CN";