Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯超鹏
laravelzh
Commits
4c0a472a
Commit
4c0a472a
authored
Aug 26, 2020
by
冯超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交用户分页模块
parent
8b30b1d8
Pipeline
#131
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
UserController.php
app/Http/Controllers/UserController.php
+1
-1
No files found.
app/Http/Controllers/UserController.php
View file @
4c0a472a
...
@@ -268,8 +268,8 @@ class UserController extends Controller
...
@@ -268,8 +268,8 @@ class UserController extends Controller
// 后台管理用户列表
// 后台管理用户列表
public
function
HUserList
(
Request
$request
)
public
function
HUserList
(
Request
$request
)
{
{
$pagenNum
=
$request
->
input
(
'page'
)
-
1
;
//页数
$limit
=
$request
->
input
(
'limit'
);
$limit
=
$request
->
input
(
'limit'
);
$pagenNum
=
$limit
*
(
$request
->
input
(
'page'
)
-
1
);
//页数
if
(
is_null
(
$pagenNum
))
{
if
(
is_null
(
$pagenNum
))
{
return
$this
->
jsonErrorData
(
105
,
'page不能为空'
);
return
$this
->
jsonErrorData
(
105
,
'page不能为空'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment