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
b99f5d26d6b3a0dc32acac94b7c8105f968d74ae
1 parent
b4387fb0
page=-1时报错
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/WebPlugin/HelperSearch.php
library/WebPlugin/HelperSearch.php
View file @
b99f5d2
...
...
@@ -79,7 +79,7 @@ class HelperSearch
//总页数
$result
[
'page_total'
]
=
isset
(
$data
[
'product'
][
'page_total'
])
?
$data
[
'product'
][
'page_total'
]
:
''
;
self
::
$pageTotal
=
$result
[
'page_total'
];
self
::
$total
=
$data
[
'product'
][
'total'
]
;
self
::
$total
=
isset
(
$data
[
'product'
][
'total'
])
?
$data
[
'product'
][
'total'
]
:
0
;
//当前页
self
::
$page
=
$result
[
'page'
]
=
isset
(
$data
[
'product'
][
'page'
])
?
$data
[
'product'
][
'page'
]
:
''
;
//筛选条件
...
...
Please
register
or
login
to post a comment