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
yyq
8 years ago
Commit
f3eaf98f382ddd9df35fb1e57f518a998a6cad13
1 parent
2683fec3
base shop cache
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/controllers/list.js
apps/product/controllers/list.js
View file @
f3eaf98
...
...
@@ -46,7 +46,7 @@ const shop = (shopId, req, res, next, brandInfo) => {
Object
.
assign
(
result
,
{
page
:
'list'
});
// 基础店铺装修为空则不cache
if
(
!
result
.
shopTopBannerBase
)
{
if
(
!
result
.
brand
||
!
result
.
brand
.
shopBanner
)
{
res
.
set
(
'Cache-Control'
,
'no-cache'
);
}
res
.
render
(
'list/brand'
,
result
);
...
...
Please
register
or
login
to post a comment