Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
2017-03-09 13:35:48 +0800
Commit
f5c58752f114a275bbd9629a59fb1fa0c881c2e1
2 parents
67005952
3b0854f6
Merge remote-tracking branch 'origin/hotfix/mkt_code' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/activity/controllers/wechat.js
apps/activity/controllers/wechat.js
View file @
f5c5875
...
...
@@ -59,7 +59,7 @@ exports.feature = (req, res) => {
if
(
req
.
yoho
.
isWechat
||
cover
)
{
// 微信中,不管是否已经种入cookie,直接覆盖
res
.
cookie
(
'mkt_code'
,
mktCode
,
options
);
}
else
if
(
!
req
.
cookies
.
mkt_code
)
{
}
else
if
(
!
req
.
cookies
.
mkt_code
||
mktCode
===
'100000000000349'
)
{
// 如果没有种入mtk_code则种入
res
.
cookie
(
'mkt_code'
,
mktCode
,
options
);
}
...
...
Please
register
or
login
to post a comment