zhengyiming
6 天以前 b80dfac43870bb6991228fc01d32b3d5e428283d
apps/bMiniApp/src/stores/modules/user.ts
@@ -97,15 +97,15 @@
    ) {
      try {
        let res: API.LoginCommandCallback = wxMiniAppUserLoginRes;
        if (!wxMiniAppUserLoginRes.isBindPhoneNumber) {
        if (!wxMiniAppUserLoginRes?.isBindPhoneNumber) {
          let bindRes = await authServices.bindWxmpUserInfo({
            encryptedData: detail.encryptedData,
            iv: detail.iv,
            sessionKey: wxMiniAppUserLoginRes.sessionKey,
          });
          res.accessToken = bindRes.accessToken;
          this.loginSuccess(res);
        }
        this.loginSuccess(res);
        return res;
      } catch (error) {
        console.log('error3: ', error);