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
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
a99f4c859ead92aa9ad8345e40398406384b40a1
1 parent
412196c4
Revert "解决店铺接口没有返回正确的banner格式时问题"
This reverts commit
412196c4
.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
apps/product/models/list.js
apps/product/models/list.js
View file @
a99f4c8
...
...
@@ -664,9 +664,6 @@ const getBrandBanner = (brandId) => {
}).
then
((
result
)
=>
{
if
(
result
&&
result
.
code
===
200
)
{
if
(
result
.
data
.
banner
)
{
if
(
result
.
data
.
banner
.
indexOf
(
'?'
)
<
0
)
{
result
.
data
.
banner
+=
'?imageMogr2/auto-orient/strip/thumbnail/x{height}/crop/{width}x{height}'
;
}
return
helpers
.
image
(
result
.
data
.
banner
,
640
,
150
);
}
else
{
return
''
;
...
...
Please
register
or
login
to post a comment