修复 左侧文件夹计数和添加素材库大小统计
This commit is contained in:
1 parent
de15191f33
commit
1d206fe179
6 files changed
+71
-15
No files matched your search
@@ -23,6 +23,7 @@ export const imageAPI = {
|
||||
return axios.get(`${API_BASE}/image?${query}`, options);
|
||||
},
|
||||
getCount: (libraryId) => axios.get(`${API_BASE}/image/count?libraryId=${libraryId}`),
|
||||
getStats: (libraryId) => axios.get(`${API_BASE}/image/stats?libraryId=${libraryId}`),
|
||||
getFolders: (libraryId) => axios.get(`${API_BASE}/image/folders?libraryId=${libraryId}`),
|
||||
getCacheMeta: (libraryId) => axios.get(`${API_BASE}/image/cache-meta?libraryId=${libraryId}`),
|
||||
getThumbnailUrl: (libraryId, size, filename) => `${API_BASE}/image/thumbnail/${libraryId}/${size}/${filename}`,
|
||||
|
||||
Reference in new issue
Block a user