main
Jing Li 2024-04-26 21:01:51 +08:00
parent 197c33ba22
commit c9f4490a2d
1 changed files with 1 additions and 1 deletions

View File

@ -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