From 1e1486dff87f2212f5b09d7068a9df6a3fec7f3a Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Sun, 6 Aug 2023 19:25:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/shopro-auth-modal/shopro-auth-modal.vue | 3 ++- shopro/pay/index.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/shopro-auth-modal/shopro-auth-modal.vue b/components/shopro-auth-modal/shopro-auth-modal.vue index 2778d19..0f31aea 100644 --- a/components/shopro-auth-modal/shopro-auth-modal.vue +++ b/components/shopro-auth-modal/shopro-auth-modal.vue @@ -688,7 +688,8 @@ export default { "user.accountLogin", { account: that.form["accountLogin"].data.account, - password: that.form["accountLogin"].data.password + password: that.form["accountLogin"].data.password, + session_id: uni.getStorageSync("session_id")||'', }, "登录中..." ) diff --git a/shopro/pay/index.js b/shopro/pay/index.js index 7b31197..9586f9e 100644 --- a/shopro/pay/index.js +++ b/shopro/pay/index.js @@ -100,6 +100,7 @@ export default class ShoproPay { let params = { order_sn: that.order.order_sn, payment: that.payment, + session_id: uni.getStorageSync('session_id') || '', return_url: return_url } if (uni.getStorageSync('openid')) {