Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yangyang
9 years ago
Commit
3e9bf9085a7e6e6afa55dc0260a56e4ce4c44823
1 parent
83d3e687
解决plus/star无法获取到品牌logo问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Plusstar.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Plusstar.php
View file @
3e9bf90
...
...
@@ -3,6 +3,7 @@
use
Action\AbstractAction
;
use
LibModels\Wap\Guang\PlusstarData
;
use
Plugin\Helpers
;
use
Plugin\Images
;
/**
* 明星品牌和原创品牌
...
...
@@ -131,7 +132,7 @@ class PlusstarController extends AbstractAction
$data
[
'psDetail'
]
=
true
;
$data
[
'ps'
][
'id'
]
=
$brandId
;
$data
[
'ps'
][
'banner'
]
=
Helpers
::
getImageUrl
(
$brandInfo
[
'getBrandInfo'
][
'data'
][
'cover_img'
],
640
,
309
);
$data
[
'ps'
][
'logo'
]
=
Helpers
::
getImageUrl
(
$brandInfo
[
'getBrandInfo'
][
'data'
][
'brand_ico'
],
160
,
160
);
$data
[
'ps'
][
'logo'
]
=
Images
::
getSourceUrl
(
$brandInfo
[
'getBrandInfo'
][
'data'
][
'brand_ico'
],
'brandLogo'
);
$data
[
'ps'
][
'name'
]
=
$brandInfo
[
'getBrandInfo'
][
'data'
][
'brand_name'
];
$data
[
'ps'
][
'isLike'
]
=
$brandInfo
[
'getUidBrandFav'
];
$data
[
'ps'
][
'intro'
]
=
empty
(
$brandInfo
[
'getBrandInfo'
][
'data'
][
'brand_intro'
])
?
false
:
strtr
(
strip_tags
(
$brandInfo
[
'getBrandInfo'
][
'data'
][
'brand_intro'
]),
array
(
' '
=>
' '
));
...
...
Please
register
or
login
to post a comment