Commit 9e55dda9 authored by 张亚松's avatar 张亚松

服务调用token验证问题

parent e7c17bec
......@@ -46,7 +46,7 @@ func Proxy(c *gin.Context) {
}
// 请求授权方式(0注册的服务无鉴权 1注册的服务通过静态token鉴权 2注册的服务通过动态token鉴权)
if proxyData.ReqAuthMthod == 2 {
// if proxyData.ReqAuthMthod == 2 {
var apaasToken string
apaasToken = c.Query("apaasToken")
if apaasToken == "" {
......@@ -67,7 +67,7 @@ func Proxy(c *gin.Context) {
c.JSON(403, "输入的token值错误")
return
}
}
// }
//proxyData.ReqUrl = "https://apaas3.wodcloud.com/iam/login/#/login"
if proxyData.SecondLevel != 1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment