WechatKeyServices.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace app\services\wechat;
  12. use app\dao\wechat\WechatKeyDao;
  13. use app\services\BaseServices;
  14. /**
  15. * 微信菜单
  16. * Class WechatMenuServices
  17. * @package app\services\wechat
  18. * @method delete($id, ?string $key = null) 删除
  19. * @method getOne(array $where) 获取一条数据
  20. * @method count(array $where) 读取数据条数
  21. * @method saveAll(array $where) 插入数据
  22. * @method getColumn($where,$key) 获取某个字段数组
  23. */
  24. class WechatKeyServices extends BaseServices
  25. {
  26. /**
  27. * 构造方法
  28. * WechatMenuServices constructor.
  29. * @param WechatKeyDao $dao
  30. */
  31. public function __construct(WechatKeyDao $dao)
  32. {
  33. $this->dao = $dao;
  34. }
  35. }