|
|
@ -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]); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|