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
5299f449
Commit
5299f449
authored
Oct 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f09c69a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
OperationData.php
application/index/controller/OperationData.php
+9
-6
No files found.
application/index/controller/OperationData.php
View file @
5299f449
...
...
@@ -337,11 +337,13 @@ class OperationData extends Basic
}
$order
=
'create_time DESC'
;
// 新增客户数
$addUserNum
=
$this
->
userModel
->
userInviteNum
(
$field
,
$where
,
$group
,
$order
);
// dump($addUserNum);
return
$this
->
response
(
200
,
'success'
,
$addUserNum
);
$return
=
$this
->
userModel
->
userInviteNum
(
$field
,
$where
,
$group
,
$order
);
if
(
$return
){
foreach
(
$return
as
$key
=>
$v
)
{
$return
[
$key
][
'create_time'
]
=
date
(
'Y-m-d'
,
strtotime
(
$v
[
'create_time'
]));
}
}
return
$this
->
response
(
200
,
'success'
,
$return
);
}
...
...
@@ -353,7 +355,8 @@ class OperationData extends Basic
{
header
(
'Access-Control-Allow-Origin:*'
);
$params
=
$this
->
params
;
$params
=
$this
->
params
;
//time_start time_end
$return
=
[
'上海'
=>
[
[
'time'
=>
'2019-10-10 - 2019-10-10'
,
'people_num'
=>
123
,
'performanceSum'
=>
123
,
'real_performanceSum'
=>
123
],
[
'time'
=>
'2019-10-10 - 2019-10-10'
,
'people_num'
=>
123
,
'performanceSum'
=>
123
,
'real_performanceSum'
=>
123
],
...
...
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