Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
6e2def10b86d8b0a1c0cc70d6aec4f6b9662f2f0
1 parent
0136cc8c
健状性检查
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
apps/product/models/detail-service.js
config/common.js
apps/product/models/detail-service.js
View file @
6e2def1
...
...
@@ -756,23 +756,23 @@ const _detailDataPkg = (origin, uid, vipLevel) => {
if
(
domainBrand
.
type
&&
domainBrand
.
shopId
)
{
switch
(
parseInt
(
domainBrand
.
type
,
10
))
{
case
1
:
{
{
// 多品店不显示
banner
=
[];
break
;
}
banner
=
[];
break
;
}
case
2
:
{
{
// 单品店显示新版的店铺banner
let
basisData
=
yield
shopService
.
basisTemplateAsync
(
domainBrand
.
shopId
);
let
basisData
=
yield
shopService
.
basisTemplateAsync
(
domainBrand
.
shopId
);
banner
.
bgImg
=
basisData
.
shopTopBanner
.
banner
||
banner
.
bgImg
;
break
;
}
banner
.
bgImg
=
basisData
.
shopTopBanner
.
banner
||
banner
.
bgImg
;
break
;
}
default
:
{
break
;
}
{
break
;
}
}
}
}
...
...
config/common.js
View file @
6e2def1
...
...
@@ -21,7 +21,7 @@ module.exports = {
search
:
'http://192.168.102.216:8080/yohosearch/'
},
subDomains
:
{
host
:
'
www
.yohobuy.com'
,
host
:
'.yohobuy.com'
,
default
:
'//www.yohobuy.com'
,
guang
:
'//guang.yohobuy.com'
,
list
:
'//list.yohobuy.com'
,
...
...
Please
register
or
login
to post a comment