feat: 查询OSS对象基于id串接口
Signed-off-by: NicholasLD <nicholasld505@gmail.com>
This commit is contained in:
parent
3d4385ee1f
commit
e8240021cb
@ -10,6 +10,14 @@ export function fetchGetOssList(params?: Api.System.OssSearchParams) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 查询OSS对象基于id串
|
||||||
|
export function listByIds(ossId: string | number) {
|
||||||
|
return request({
|
||||||
|
url: `/resource/oss/listByIds/${ossId}`,
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/** 批量删除文件管理 */
|
/** 批量删除文件管理 */
|
||||||
export function fetchBatchDeleteOss(ossIds: CommonType.IdType[]) {
|
export function fetchBatchDeleteOss(ossIds: CommonType.IdType[]) {
|
||||||
return request<boolean>({
|
return request<boolean>({
|
||||||
|
Loading…
Reference in New Issue
Block a user