Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
719eeaca
Commit
719eeaca
authored
Sep 11, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
a00551bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
InviteTotal.php
application/index/controller/InviteTotal.php
+29
-1
No files found.
application/index/controller/InviteTotal.php
View file @
719eeaca
<?php
namespace
app\index\controller
;
use
app\index\extend\Basic
;
use
app\model\Users
;
/**
* Created by PhpStorm.
...
...
@@ -9,6 +12,30 @@ use app\index\extend\Basic;
* Time : 16:37
* Intro:
*/
class
InviteTotal
extends
Basic
{
class
InviteTotal
extends
Basic
{
public
function
getFirstLoginTotal
()
{
$params
=
$this
->
params
;
$params
=
array
(
"district_id"
=>
1
,
"store_id"
=>
1
,
"start_time"
=>
""
,
"end_time"
=>
""
,
"page_no"
=>
1
,
"page_size"
=>
30
);
if
(
empty
(
$params
[
"district_id"
]))
{
return
$this
->
response
(
"101"
,
"请选择部门或门店"
);
}
if
(
empty
(
$params
[
"start_time"
])
||
empty
(
$params
[
"end_time"
]))
{
return
$this
->
response
(
"101"
,
"请选择时间"
);
}
$page_no
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$page_size
=
empty
(
$params
[
'page_size'
])
?
30
:
$params
[
'page_size'
];
$userModel
=
new
Users
();
}
}
\ No newline at end of file
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