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
ce44e3af
Commit
ce44e3af
authored
Oct 10, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operationChatUserNumV2
parent
88fa24a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
OperationData.php
application/index/controller/OperationData.php
+2
-2
route.php
application/route.php
+1
-0
No files found.
application/index/controller/OperationData.php
View file @
ce44e3af
...
@@ -38,7 +38,7 @@ class OperationData extends Basic
...
@@ -38,7 +38,7 @@ class OperationData extends Basic
* 发起微聊用户数 废弃
* 发起微聊用户数 废弃
* @return \think\Response
* @return \think\Response
*/
*/
public
function
chatUserNum
_old
()
public
function
chatUserNum
()
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
$where
[
'create_time'
]
=
[
'between'
,
[
$params
[
'create_time_start'
]
.
' 00:00:00'
,
$params
[
'create_time_end'
]
.
' 23:59:59'
]
];
$where
[
'create_time'
]
=
[
'between'
,
[
$params
[
'create_time_start'
]
.
' 00:00:00'
,
$params
[
'create_time_end'
]
.
' 23:59:59'
]
];
...
@@ -58,7 +58,7 @@ class OperationData extends Basic
...
@@ -58,7 +58,7 @@ class OperationData extends Basic
* 发起微聊用户数 分部门
* 发起微聊用户数 分部门
* @return \think\Response
* @return \think\Response
*/
*/
public
function
chatUserNum
()
public
function
chatUserNum
V2
()
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
$where
[
'create_time'
]
=
[
'between'
,
[
$params
[
'create_time_start'
]
.
' 00:00:00'
,
$params
[
'create_time_end'
]
.
' 23:59:59'
]
];
$where
[
'create_time'
]
=
[
'between'
,
[
$params
[
'create_time_start'
]
.
' 00:00:00'
,
$params
[
'create_time_end'
]
.
' 23:59:59'
]
];
...
...
application/route.php
View file @
ce44e3af
...
@@ -319,6 +319,7 @@ Route::group('index', [
...
@@ -319,6 +319,7 @@ Route::group('index', [
//运营数相关接口
//运营数相关接口
'operationChatUserNum'
=>
[
'index/OperationData/chatUserNum'
,
[
'method'
=>
'get | post'
]
],
'operationChatUserNum'
=>
[
'index/OperationData/chatUserNum'
,
[
'method'
=>
'get | post'
]
],
'operationChatUserNumV2'
=>
[
'index/OperationData/chatUserNumV2'
,
[
'method'
=>
'get | post'
]
],
'operationUserPhoneNum'
=>
[
'index/OperationData/userPhoneNum'
,
[
'method'
=>
'get | post'
]
],
'operationUserPhoneNum'
=>
[
'index/OperationData/userPhoneNum'
,
[
'method'
=>
'get | post'
]
],
'operationLoginNum'
=>
[
'index/OperationData/loginNum'
,
[
'method'
=>
'get | post'
]
],
'operationLoginNum'
=>
[
'index/OperationData/loginNum'
,
[
'method'
=>
'get | post'
]
],
'operationHouseNum'
=>
[
'index/OperationData/houseNum'
,
[
'method'
=>
'get | post'
]
],
'operationHouseNum'
=>
[
'index/OperationData/houseNum'
,
[
'method'
=>
'get | post'
]
],
...
...
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