123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- declare (strict_types=1);
- namespace app\services\wechat;
- use app\services\BaseServices;
- use app\dao\wechat\WechatReplyKeyDao;
- class WechatReplyKeyServices extends BaseServices
- {
-
- public function __construct(WechatReplyKeyDao $dao)
- {
- $this->dao = $dao;
- }
-
- public function getReplyKeyAll(array $where)
- {
- [$page, $limit] = $this->getPageValue();
- $list = $this->dao->getReplyKeyList($where, $page, $limit);
- $count = $this->dao->count($where);
- return compact('list', 'count');
- }
- }
|