友情链接管理;封装上传接口
This commit is contained in:
@ -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',
|
||||
});
|
||||
}
|
||||
|
12
src/servers/api/typings.d.ts
vendored
12
src/servers/api/typings.d.ts
vendored
@ -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 {
|
||||
|
Reference in New Issue
Block a user