Skip to main content

delete_asset

Function delete_asset 

Source
pub async fn delete_asset(id: String) -> Result<AssetOpResponse, ServerFnError>
Expand description

删除单张素材。

引用中 → Ok(success:false) + 引用文章列表(业务拒绝不走 Err); 孤儿 → 物理删除文件、DB 行(refs 级联)与派生缓存。

§Handler information

  • Method: post
  • Path: <auto>