test: StatusTemporaryRedirect -> StatusFound

Signed-off-by: withchao <993506633@qq.com>
pull/659/head
withchao 2 years ago
parent ebe4c4bc92
commit 1cdd943a18

@ -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)
}

Loading…
Cancel
Save