友情链接管理;封装上传接口

This commit is contained in:
linxd
2025-06-18 18:46:32 +08:00
parent 2a0532f775
commit 73db059e7d
24 changed files with 562 additions and 385 deletions

View File

@ -96,3 +96,10 @@ export async function disableLink(id: string) {
method: 'POST',
});
}
// 获取友情链接详情
export async function getLinkDetail(id: string) {
return request(`/portals/links/${id}`, {
method: 'GET',
});
}

View File

@ -439,6 +439,18 @@ declare namespace API {
createTime?: string;
updateTime?: string;
categoryName?: string; // 用于显示
// 以下是详情接口返回的额外字段
createBy?: string;
createDate?: string | null;
updateBy?: string | null;
updateDate?: string | null;
tenantId?: string | null;
tenantName?: string | null;
deleteFlag?: string | null;
lastUpdateTime?: string | null;
delFlag?: string;
remark?: string | null;
basePageRequest?: null;
}
// 友情链接分类请求参数
export interface CategoryRequest {