mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
优惠券总数问题修复
This commit is contained in:
parent
e77ab14af1
commit
f0389d7348
@ -72,6 +72,17 @@ class StoreCouponIssueDao extends BaseDao
|
||||
->page($page, $limit)->order('id desc')->select()->toArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* 优惠券数量
|
||||
* @param $where
|
||||
* @return int
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function couponCount($where): int
|
||||
{
|
||||
return $this->search($where)->count();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取优惠券列表
|
||||
* @param int $uid 用户ID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user