From 7db25b8d2b900bb80ba32386cb45998d2e50632f Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Wed, 18 Oct 2023 10:07:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user/sessionApi.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/user/sessionApi.js b/api/user/sessionApi.js index fbcdbe5..b3bd491 100644 --- a/api/user/sessionApi.js +++ b/api/user/sessionApi.js @@ -75,6 +75,14 @@ export function autoLoginWechat(options) { return; } + //todo 如果参数中带了wAppId + let _wAppId = options.wAppId; + + if(_wAppId){ + _generatorOpenId(options, _wAppId); + return; + } + let _objType = "1100"; // todo public // #ifdef MP-WEIXIN _objType = "1000";