From 11f7661538f75c2d4eefd32408eba6dc0d77052b Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 29 七月 2024 11:17:38 +0800
Subject: [PATCH] add 供应商的入位
---
store/index.js | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/store/index.js b/store/index.js
index 190659b..ba659d7 100644
--- a/store/index.js
+++ b/store/index.js
@@ -28,6 +28,8 @@
'info': 0,
'flower': 0,
'shopping': 0,
+ 'follow': 0,
+ 'delivery':0
},
defaultaddress: {}
},
@@ -219,7 +221,8 @@
password: data.password,
tel: data.phoneNumber || data.tel,
smsCode: data.smsCode || '',
- dto: data.dto || undefined
+ dto: data.dto || undefined,
+ wxcode: data.wxcode || undefined
},
params: {
clientType: data.clientType || 'app'
@@ -379,7 +382,7 @@
}
})
console.log('resp', resp)
- if (resp && resp.code == 0) {
+ if (resp && resp.code === 0) {
storage.setItem('token', resp.data.access_token)
commit("updateLogin", true)
await dispatch('getCurrentInfo')
@@ -395,7 +398,7 @@
},
submitShopping: async function ({commit, dispatch}, data) {
- const resp = await http.request('post', '/api/api/customer/flower/cart/change-num', {
+ const resp = await http.request('post', '/api/customer/flower/cart/change-num', {
data: {
id: data.id,
num: 1
--
Gitblit v1.9.3