| | |
| | | }); |
| | | }, |
| | | |
| | | uploadSoftware(data: FormData) { |
| | | uploadSoftware(id: string, description: string, file: File) { |
| | | const data = new FormData(); |
| | | data.append("id", id); |
| | | data.append("file", file); |
| | | data.append("description", description); |
| | | return request<any, UploadResult>({ |
| | | method: "POST", |
| | | url: "software/upload", |
| | | headers: { |
| | | "Content-Type": "multipart/form-data" |
| | | "Content-Type": "multipart/form-data", |
| | | }, |
| | | data, |
| | | }); |
| | |
| | | fileUrl: string; |
| | | uploadUserId: string; |
| | | uploadUserName: string; |
| | | version?: string; |
| | | description?: string; |
| | | createTime: string; |
| | | } |
| | | |
| | |
| | | code: number; |
| | | msg: string; |
| | | } |
| | | |
| | | export interface UpdateApplyParams { |
| | | |
| | | } |