소스 검색

小程序微信登录调试

黄远 5 년 전
부모
커밋
53b82174d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lift-system-service/src/main/java/cn/com/ty/lift/system/wechat/constants/WxConstants.java

+ 1 - 1
lift-system-service/src/main/java/cn/com/ty/lift/system/wechat/constants/WxConstants.java

@@ -41,7 +41,7 @@ public class WxConstants {
      */
     public interface AppletConfigConstants {
 
-        String OPEN_ID_URL = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code";
+        String OPEN_ID_URL = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=CODE&grant_type=authorization_code";
         /**
          * 小程序appId
          */