1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace app\services\work;
- use app\dao\work\WorkGroupMsgSendResultGroupChatDao;
- use app\services\BaseServices;
- class WorkGroupMsgSendResultGroupChatServices extends BaseServices
- {
-
- public function __construct(WorkGroupMsgSendResultGroupChatDao $dao)
- {
- $this->dao = $dao;
- }
-
- public function getList(array $where)
- {
- [$page, $limit] = $this->getPageValue();
- $list = $this->dao->groupChat($where)->page($page, $limit)->select()->toArray();
- $count = $this->dao->groupChat($where)->count();
- return compact('list', 'count');
- }
- }
|