listByCardStatus
This commit is contained in:
parent
2d27bef7e8
commit
e709eb5d16
@ -58,7 +58,7 @@ class CardService extends Service
|
|||||||
return new LengthAwarePaginator($cards, $total, $limit);
|
return new LengthAwarePaginator($cards, $total, $limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function listByCardStatus(array $conditions = [])
|
public function listByCardStatus(array $conditions = [])
|
||||||
{
|
{
|
||||||
$limit = $conditions['limit'] ?? 20;
|
$limit = $conditions['limit'] ?? 20;
|
||||||
$conditions['type'] = [0, 1, 2];
|
$conditions['type'] = [0, 1, 2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user