fix: DownloadFile接口参数url和base64二选一即可

This commit is contained in:
linyuchen 2024-11-08 05:45:21 +08:00
parent 7ad384d407
commit bfb67188ce

View File

@ -23,8 +23,8 @@ interface FileResponse {
export class DownloadFile extends BaseAction<Payload, FileResponse> {
actionName = ActionName.GoCQHTTP_DownloadFile
payloadSchema = Schema.object({
url: String,
base64: String,
url: Schema.string(),
base64: Schema.string(),
headers: Schema.union([String, Schema.array(String)])
})