Fix: S3 adaption for minio

This commit is contained in:
HFO4
2020-10-11 13:05:14 +08:00
parent 41eb84a221
commit 77394313aa
4 changed files with 15 additions and 4 deletions

View File

@ -110,6 +110,7 @@ func COSCallback(c *gin.Context) {
// S3Callback S3上传完成客户端回调
func S3Callback(c *gin.Context) {
c.Header("Access-Control-Allow-Origin", "*")
var callbackBody callback.S3Callback
if err := c.ShouldBindQuery(&callbackBody); err == nil {
res := callbackBody.PreProcess(c)