feature/main20240421
guojia 7 months ago
parent 0158d2a93f
commit a56a7032d9
  1. 9
      app/store/model/Merchant.php

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

Loading…
Cancel
Save