调整红包记录查询
This commit is contained in:
parent
68796f2cb2
commit
8f3ce183e8
@ -235,6 +235,7 @@ class StoreActivityUserDao extends BaseDao
|
||||
$query = UserBill::field('link_id,create_time,number coupon_price,mark')
|
||||
->where('uid', $userId)
|
||||
->where('category', 'red_pack')
|
||||
->where('status', 1)
|
||||
->where('type', "red_pack_{$type}");
|
||||
$count = $query->count();
|
||||
$record = $query->page($page)->limit($limit)->select()->toArray();
|
||||
|
Loading…
x
Reference in New Issue
Block a user