fix(alidrive): change response of move and copy

pull/844/head
Xhofe 2022-03-28 21:51:24 +08:00
parent ad3121d367
commit dd151480a8
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ func (driver AliDrive) batch(srcId, dstId string, url string, account *model.Acc
}
return fmt.Errorf("%s", e.Message)
}
status := jsoniter.Get(res.Body(), "status").ToInt()
status := jsoniter.Get(res.Body(), "responses", 0, "status").ToInt()
if status < 400 && status >= 100 {
return nil
}