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
73b0bbd496e6670cfeaf543b37a608c24b0476e7
1 parent
e809860d
修改品牌一个参数错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
library/Plugin/HelperSearch.php
library/Plugin/HelperSearch.php
View file @
73b0bbd
...
...
@@ -1316,15 +1316,13 @@ class HelperSearch
*/
public static function getBannerFormat(
$banner
,
$brand
)
{
// 根据品牌Id获取品牌banner图
if (isset(
$banner['banner']
)) {
$bannerImg
= Helpers::getImageUrl(
$banner['banner']
, '', 150);
}
$is_favorite
= false;
$shopName
= false;
if(isset(
$brand
)){
if(isset(
$brand['is_favorite']
)){
// 获取是否收藏
if (
$brand['is_favorite']
== 'Y') {
$is_favorite
= true;
...
...
Please
register
or
login
to post a comment