Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
51570751
Commit
51570751
authored
Mar 13, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xhyx/release' of
http://code.mayi888.com/chengmo/mayi-mp-shop
into xhyx/release
parents
08951cc9
4addd09c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
src/pages/home/index.vue
+6
-0
src/pages/index/index.vue
+6
-0
src/pages/login/index.vue
+9
-0
No files found.
src/pages/home/index.vue
View file @
51570751
...
@@ -508,6 +508,9 @@ export default {
...
@@ -508,6 +508,9 @@ export default {
wx
.
removeStorage
({
wx
.
removeStorage
({
key
:
"enterpriseAccount"
key
:
"enterpriseAccount"
});
});
// 每次退出登录都删除导购数据
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
});
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
});
}
}
this
.
options
=
wx
.
getStorageSync
(
"becomeInfo"
);
this
.
options
=
wx
.
getStorageSync
(
"becomeInfo"
);
this
.
changeLocation
=
options
.
changeLocation
||
''
this
.
changeLocation
=
options
.
changeLocation
||
''
...
@@ -539,6 +542,9 @@ export default {
...
@@ -539,6 +542,9 @@ export default {
wx
.
removeStorage
({
wx
.
removeStorage
({
key
:
"enterpriseAccount"
key
:
"enterpriseAccount"
});
});
// 每次退出登录都删除导购数据
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
});
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
});
}
}
// 获取页面数据
// 获取页面数据
if
(
this
.
mpApp
.
globalData
.
pageList
&&
!
this
.
reloadPage
)
{
if
(
this
.
mpApp
.
globalData
.
pageList
&&
!
this
.
reloadPage
)
{
...
...
src/pages/index/index.vue
View file @
51570751
...
@@ -318,6 +318,9 @@ export default {
...
@@ -318,6 +318,9 @@ export default {
wx
.
removeStorage
({
wx
.
removeStorage
({
key
:
"enterpriseAccount"
key
:
"enterpriseAccount"
});
});
// 每次退出登录都删除导购数据
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
});
wx
.
removeStorage
({
key
:
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
});
}
else
if
(
options
.
from
&&
options
.
from
==
"address"
)
{
}
else
if
(
options
.
from
&&
options
.
from
==
"address"
)
{
log
.
info
(
'options.from == "address"'
)
log
.
info
(
'options.from == "address"'
)
// 来自小程序地址页面
// 来自小程序地址页面
...
@@ -350,6 +353,9 @@ export default {
...
@@ -350,6 +353,9 @@ export default {
offlineShopName
:
paramsObj
.
offlineShopName
,
offlineShopName
:
paramsObj
.
offlineShopName
,
});
});
}
}
if
(
paramsObj
.
QRCodeType
)
{
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
,
paramsObj
.
QRCodeType
);
}
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
...
...
src/pages/login/index.vue
View file @
51570751
...
@@ -802,6 +802,15 @@ export default {
...
@@ -802,6 +802,15 @@ export default {
query
.
spokesmanGroupId
=
this
.
$store
.
state
.
spokesmanGroupId
;
query
.
spokesmanGroupId
=
this
.
$store
.
state
.
spokesmanGroupId
;
query
.
spokesmanShopId
=
this
.
$store
.
state
.
spokesmanShopId
;
query
.
spokesmanShopId
=
this
.
$store
.
state
.
spokesmanShopId
;
}
}
// 导购海报分享来源
const
shareQRCodeType
=
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
);
if
(
shareQRCodeType
)
{
query
.
customerSourceType
=
{
coupon
:
17
,
// 优惠券海报
home
:
18
,
// 门店海报
goods
:
19
,
// 商品海报
}[
shareQRCodeType
];
}
log
.
info
(
query
,
'bindUser-query-500'
)
log
.
info
(
query
,
'bindUser-query-500'
)
login
login
.
bindUser
(
query
)
.
bindUser
(
query
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment