2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
|
2026-03-21 02:55:24 +08:00
|
|
|
declare (strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace app\services\activity\coupon;
|
|
|
|
|
|
|
|
|
|
use app\services\BaseServices;
|
|
|
|
|
use app\dao\activity\coupon\StoreCouponIssueUserDao;
|
|
|
|
|
use think\annotation\Inject;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class StoreCouponIssueUserServices
|
|
|
|
|
* @package app\services\activity\coupon
|
|
|
|
|
* @mixin StoreCouponIssueUserDao
|
|
|
|
|
*/
|
|
|
|
|
class StoreCouponIssueUserServices extends BaseServices
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @var StoreCouponIssueUserDao
|
|
|
|
|
*/
|
|
|
|
|
#[Inject]
|
|
|
|
|
protected StoreCouponIssueUserDao $dao;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取列表
|
|
|
|
|
* @param array $where
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function issueLog(array $where)
|
|
|
|
|
{
|
|
|
|
|
[$page, $limit] = $this->getPageValue();
|
|
|
|
|
$list = $this->dao->getList($where, $page, $limit);
|
|
|
|
|
$count = $this->dao->count($where);
|
|
|
|
|
return compact('list', 'count');
|
|
|
|
|
}
|
|
|
|
|
}
|