feat(B2): 附件管理改"未使用"语义+用途列;banner/link 上传带 scene
- AttachmentManage: orphanCount→unusedCount(零残留),用途列(文章/轮播/友链/站点配置/未使用) - BannerManage/LinkManage 上传 action 传 scene;ArticleList 删除提示文案同步 - types AttachmentVo 增 refType;vitest 24/24+build 绿
This commit is contained in:
@@ -173,11 +173,14 @@ export interface AttachmentVo {
|
||||
id: number;
|
||||
siteId: number;
|
||||
articleId?: number;
|
||||
/** 场景引用类型(B2):banner/link/site;空=无场景引用 */
|
||||
refType?: string;
|
||||
fileName: string;
|
||||
url: string;
|
||||
fileSize?: number;
|
||||
mimeType?: string;
|
||||
createTime?: string;
|
||||
/** 未使用(B2 语义:无文章引用且无场景引用) */
|
||||
orphan: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user