|
|
|
@ -93,11 +93,11 @@ func CheckSsoCode(c *gin.Context) {
|
|
|
|
|
RedisUtil.EXPIRE(accessToken)
|
|
|
|
|
|
|
|
|
|
//跳转到最终访问的地址
|
|
|
|
|
//c.Redirect(http.StatusFound, reqCallBackURL)
|
|
|
|
|
c.Header("Content-Type", "text/html;charset=utf-8")
|
|
|
|
|
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>`)
|
|
|
|
|
//c.String(200, `<p>黄海测试</p>`)
|
|
|
|
|
}
|
|
|
|
|