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
biao
2015-12-15 19:44:44 +0800
Commit
7dd09f04634d0bf69b5fe6375d91c30c5bbfc459
1 parent
0afa6457
update Home.php to remove unnecessary condition. code review by HongFei
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Index/Home.php
yohobuy/m.yohobuy.com/application/models/Index/Home.php
View file @
7dd09f0
...
...
@@ -331,7 +331,7 @@ class HomeModel
$data
=
IndexData
::
channelData
();
$channelList
=
array
();
if
(
$data
[
'code'
]
==
200
&&
isset
(
$data
[
'data'
][
'list'
])){
if
(
isset
(
$data
[
'data'
][
'list'
])){
foreach
(
$data
[
'data'
][
'list'
]
as
$key
=>
$value
){
switch
(
$value
[
'channel_id'
])
{
case
5
:
...
...
Please
register
or
login
to post a comment