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
eefd14698d1c43e89283b4c8b0323e3d577b6be2
1 parent
269bde16
save
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
yohobuy/m.yohobuy.com/application/models/Guang/StarClass.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/StarClass.php
yohobuy/m.yohobuy.com/application/models/Guang/StarClass.php
View file @
eefd146
...
...
@@ -58,7 +58,7 @@ class StarClassModel
$build
=
array
();
}
//
print_r($result);
print_r
(
$result
);
return
$result
;
}
...
...
@@ -226,10 +226,10 @@ class StarClassModel
$result
=
array
();
foreach
(
$data
as
$key
=>
$value
)
{
$result
[
$key
][
'url'
]
=
$value
[
'url'
];
$result
[
$key
][
'img'
]
=
$value
[
'src'
];
$result
[
$key
][
'bgColor'
]
=
$value
[
'bgColor'
];
$result
[
$key
][
'title'
]
=
$value
[
'title'
];
$result
[
'banner'
][
$key
][
'url'
]
=
$value
[
'url'
];
$result
[
'banner'
][
$key
][
'img'
]
=
$value
[
'src'
];
$result
[
'banner'
][
$key
][
'bgColor'
]
=
$value
[
'bgColor'
];
$result
[
'banner'
][
$key
][
'title'
]
=
$value
[
'title'
];
}
$result
[
'bannerList'
]
=
true
;
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/StarClass.php
View file @
eefd146
...
...
@@ -31,7 +31,7 @@ class StarClassController extends AbstractAction
public
function
specialAction
()
{
$data
=
StarClassModel
::
getspecial
();
//print_r($data);
$this
->
_view
->
display
(
'subject'
,
array
(
'trendClassSubject'
=>
$data
));
...
...
Please
register
or
login
to post a comment