test: StatusTemporaryRedirect -> StatusFound

Signed-off-by: withchao <993506633@qq.com>
This commit is contained in:
withchao 2023-07-25 11:24:35 +08:00
parent ebe4c4bc92
commit 1cdd943a18

View File

@ -95,5 +95,5 @@ func (o *ThirdApi) ObjectRedirect(c *gin.Context) {
c.String(http.StatusInternalServerError, err.Error())
return
}
c.Redirect(http.StatusTemporaryRedirect, resp.Url)
c.Redirect(http.StatusFound, resp.Url)
}