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
56d4252de2ed93fab795268190c7a40ed8447a18
1 parent
dbff70e8
修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
yohobuy/www.yohobuy.com/application/models/Product/Brands.php
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php
yohobuy/www.yohobuy.com/application/models/Product/Brands.php
View file @
56d4252
...
...
@@ -59,7 +59,7 @@ class BrandsModel
{
$urlList
=
array
();
//组合搜索品牌url
$urlList
[
'brand'
]
=
HelperSearch
::
getBrandUrl
(
$customOptions
);
$urlList
[
'brand'
]
=
SearchData
::
getBrandUrl
(
$customOptions
);
//批量调接口
$result
=
Yohobuy
::
getMulti
(
$urlList
,
array
(),
true
);
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
56d4252
...
...
@@ -8,8 +8,8 @@ use product\HotrankModel;
class
IndexController
extends
WebAction
{
/**
* 品牌首页
*/
* 品牌首页
*/
public
function
brandAction
()
{
//品牌域名,没有获取到品牌域名的跳转首页
...
...
@@ -62,7 +62,7 @@ class IndexController extends WebAction
}
//品牌介绍页
public
function
brand
Intro
Action
()
public
function
brand
About
Action
()
{
//品牌域名
$domain
=
$this
->
param
(
'named'
);
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php
View file @
56d4252
...
...
@@ -57,14 +57,16 @@ class ListController extends WebAction
*/
public
function
saleAction
()
{
$options
[
'controller'
]
=
$this
->
_request
->
controller
;
$options
[
'action'
]
=
$this
->
_request
->
action
;
$options
[
'controller'
]
=
'Index'
;
$options
[
'action'
]
=
'sale'
;
$options
[
'reviewNum'
]
=
6
;
$condition
=
array
();
$condition
=
array
(
'p_d'
=>
'0.01,0.99'
);
$option
=
array
(
'controller'
=>
'List'
,
'action'
=>
'sale'
,
'reviewNum'
=>
6
'reviewNum'
=>
6
);
$list
=
SearchModel
::
getListData
(
$condition
,
$option
);
$data
=
array
(
...
...
Please
register
or
login
to post a comment