Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
yangyang
9 years ago
Commit
eb14de88425729bf3af109e14ea36943314a717e
1 parent
df7261d8
修改数据格式
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Index/Index.php
yohobuy/m.yohobuy.com/application/models/Index/Index.php
View file @
eb14de8
...
...
@@ -15,7 +15,7 @@ use LibModels\Wap\Index\IndexData;
*/
class
IndexModel
{
public
function
getChannel
(){
public
static
function
getChannel
(){
$result
=
array
();
$result
[
'showYohood'
]
=
true
;
...
...
@@ -27,6 +27,7 @@ class IndexModel
switch
(
$value
[
'channel_id'
])
{
case
5
:
$result
[
'showYohood'
]
=
true
;
$result
[
'yohoodHref'
]
=
'/yohood'
;
break
;
case
1
:
$channelList
[
$key
][
'href'
]
=
'/boys'
;
...
...
Please
register
or
login
to post a comment