Commit ce44e3af authored by zhuwei's avatar zhuwei

operationChatUserNumV2

parent 88fa24a5
...@@ -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 chatUserNumV2()
{ {
$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' ] ];
......
...@@ -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' ] ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment