@ -53,4 +53,13 @@ class Merchant extends StoreModel
$data['store_id'] = self::$storeId;
return $data;
}
/**
* 软删除
* @return bool
*/
public function setDelete(): bool
{
return $this->save(['is_delete' => 1]);