商品展示支持多张图片

This commit is contained in:
xiaowang
2026-02-26 11:16:24 +08:00
parent 501aeb8ea3
commit 98c9463efa
5 changed files with 228 additions and 34 deletions
+8
View File
@@ -138,4 +138,12 @@ api.interceptors.response.use(
}
)
export const fileApi = {
getSignedUrl: (fileId: number, expiryTimeInMinutes?: number) => {
return api.get<string>(`/file/get-signed-url/${fileId}`, {
params: { expiryTimeInMinutes }
})
}
}
export default api