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
hf
9 years ago
Commit
88d45226bc56fabae942d9b93c751c9da1b2bdc7
1 parent
cb243852
fixes bug to guang list page show
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/List.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/List.php
View file @
88d4522
...
...
@@ -203,6 +203,7 @@ class ListController extends AbstractAction
break
;
}
if
(
!
empty
(
$page
)
&&
!
is_numeric
(
$page
))
{
break
;
}
if
(
!
empty
(
$authorId
)
&&
is_numeric
(
$authorId
))
{
...
...
@@ -212,6 +213,7 @@ class ListController extends AbstractAction
/* 获取资讯文章列表 */
$uid
=
$this
->
getUid
();
$udid
=
$this
->
getUdid
();
$page
=
intval
(
$page
)
+
1
;
$article
=
ListData
::
article
(
$gender
,
$sortId
,
$uid
,
$udid
,
$page
,
$tag
,
$authorId
);
if
(
empty
(
$article
[
'data'
][
'list'
][
'artList'
]))
{
break
;
...
...
Please
register
or
login
to post a comment