From 693a33f660891c98b8b95490d020c428c5da9871 Mon Sep 17 00:00:00 2001 From: 抓蛙师 <770492966@qq.com> Date: 星期一, 19 九月 2022 21:46:32 +0800 Subject: [PATCH] 完善功能:前端可以配置多排序参数支持依次排序 如:{isAsc:"asc",orderByColumn:"id"} {isAsc:"asc",orderByColumn:"id,createTime"} {isAsc:"asc,desc",orderByColumn:"id,createTime"} 共三种配置方式 --- ruoyi-ui/src/api/system/oss.js | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/system/oss.js b/ruoyi-ui/src/api/system/oss.js index 39be597..7d80026 100644 --- a/ruoyi-ui/src/api/system/oss.js +++ b/ruoyi-ui/src/api/system/oss.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -// 鏌ヨOSS浜戝瓨鍌ㄥ垪琛� +// 鏌ヨOSS瀵硅薄瀛樺偍鍒楄〃 export function listOss(query) { return request({ url: '/system/oss/list', @@ -9,10 +9,19 @@ }) } -// 鍒犻櫎OSS浜戝瓨鍌� +// 鏌ヨOSS瀵硅薄鍩轰簬id涓� +export function listByIds(ossId) { + return request({ + url: '/system/oss/listByIds/' + ossId, + method: 'get' + }) +} + +// 鍒犻櫎OSS瀵硅薄瀛樺偍 export function delOss(ossId) { return request({ url: '/system/oss/' + ossId, method: 'delete' }) } + -- Gitblit v1.9.3