Commit 2b435053 authored by 张亚松's avatar 张亚松

修改token验证提示语

parent bba31cd4
......@@ -59,12 +59,12 @@ func Proxy(c *gin.Context) {
fmt.Println("apaasToken:", apaasToken)
if apaasToken == "" {
c.JSON(403, "Get Authorization Token failed")
c.JSON(403, "请输入token值")
return
}
if proxyData.ApaasToken != apaasToken {
c.JSON(403, "invalid Authorization Token")
c.JSON(403, "输入的token值错误")
return
}
}
......
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