feat(web): chat's audio add status

This commit is contained in:
zhaoying
2026-03-24 10:20:53 +08:00
parent 59f8010519
commit cbec2c1356
7 changed files with 217 additions and 74 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 13:59:56
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-23 17:48:40
* @Last Modified time: 2026-03-23 18:05:43
*/
import { request, API_PREFIX } from '@/utils/request'
@@ -37,4 +37,8 @@ export const shareFileUploadUrl = `${API_PREFIX}${shareFileUploadUrlWithoutApiPr
// Get file info
export const getFileInfoByUrl = (url: string) => {
return request.get('/storage/files/info-by-url', {url})
}
// Get file status
export const getFileStatusById = (file_id: string) => {
return request.get(`/storage/files/${file_id}/status`)
}