Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
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
whb
10 years ago
Commit
8c8c99ed5d54bf14db5052ae34fe4279e2ec031a
1 parent
0a82c232
品牌链接
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
website/controller/Brand.class.php
website/controller/Brand.class.php
View file @
8c8c99e
...
...
@@ -35,7 +35,10 @@ class Controller_Brand extends Controller_Abstract
}
if
(
$client
)
{
$info
[
'link'
]
=
'openby:'
.
urlencode
(
'yohobuy={"action":"go.brand","params":{"brand_id":"'
.
$yohobuyBrandId
.
'"}}'
);
if
(
!
empty
(
$yohobuyBrandId
)
||
(
empty
(
$info
[
'link'
])
&&
empty
(
$yohobuyBrandId
)))
{
$info
[
'link'
]
=
'openby:'
.
urlencode
(
'yohobuy={"action":"go.brand","params":{"brand_id":"'
.
$yohobuyBrandId
.
'"}}'
);
}
}
}
$relas
=
Facade_Brand
::
getBrandNewsRelaByBrandID
(
$id
);
...
...
Please
register
or
login
to post a comment