generated from liutk/owl-admin-base
Update
parent
197c33ba22
commit
c9f4490a2d
|
|
@ -84,7 +84,7 @@ class Store extends Model
|
|||
*/
|
||||
public function isLotteryStore(): bool
|
||||
{
|
||||
return preg_match('/^store_category_lottery_/', $this->category_id);
|
||||
return 'store_category_lottery' === $this->category_id || preg_match('/^store_category_lottery_/', $this->category_id);
|
||||
}
|
||||
|
||||
protected function businessStatusText(): Attribute
|
||||
|
|
|
|||
Loading…
Reference in New Issue