Commit bba31cd4 authored by 张亚松's avatar 张亚松

fix bug

parent c03748b3
......@@ -46,7 +46,7 @@ func Proxy(c *gin.Context) {
}
// 请求授权方式(0注册的服务无鉴权 1注册的服务通过静态token鉴权 2注册的服务通过动态token鉴权)
if proxyData.ReqAuthMthod != 0 {
if proxyData.ReqAuthMthod == 2 {
var apaasToken string
apaasToken = c.Query("apaasToken")
if apaasToken == "" {
......
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