Browse Source

no message

zhujindu 8 months ago
parent
commit
dda9a1e2a7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/utils/digest.js

+ 3 - 3
src/utils/digest.js

@@ -19,9 +19,9 @@ export function WXdigest() {
   // });
   getTicketFun(['getCurExternalContact'], 'agentConfig')
     .then((res) => {
-      // window.open(
-      //   `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${res.appId}&redirect_uri=ssbsfatest.nipponpaint.com.cn/mobile/&response_type=code&scope=SCOPE&state=STATE#wechat_redirect`
-      // );
+      window.open(
+        `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${res.appId}&redirect_uri=https://ssbsfatest.nipponpaint.com.cn/mobile&response_type=code&scope=SCOPE&state=STATE#wechat_redirect`
+      );
       // 获取用户code
       // getWeChatCode();
     })