master
黄海 5 years ago
parent 74d3b86443
commit db68620357

@ -93,5 +93,11 @@ func CheckSsoCode(c *gin.Context) {
RedisUtil.EXPIRE(accessToken)
//跳转到最终访问的地址
c.Redirect(http.StatusFound, reqCallBackURL)
//c.Redirect(http.StatusFound, reqCallBackURL)
c.Header("Content-Type", "text/html;charset=utf-8")
/*
html := `<script language="javascript" type="text/javascript">
window.location.href='` + reqCallBackURL + `';
</script>`*/
c.String(200, `<p>黄海测试</p>`)
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save