1. 小程序端
2. 视频优化
This commit is contained in:
@@ -366,7 +366,6 @@ const uploadSingleFile = async (file: File): Promise<string | null> => {
|
||||
if (props.categoryId) {
|
||||
formData.append('categoryId', props.categoryId.toString())
|
||||
}
|
||||
formData.append('storageType', 'aliyun')
|
||||
|
||||
const result = await parseApiResponse<{ fileUrl: string }>(await authFetch(`${API_BASE}/admin/attachments/upload`, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user