"src/pages/authority/user/users.vue" did not exist on "e0919d59e7cb30262e72b5e577adf2cf84b6efc5"
Commit 9760f193 authored by 张宇迪's avatar 张宇迪

修改字段过滤

parent fd4727d8
...@@ -22,7 +22,7 @@ pipeline: ...@@ -22,7 +22,7 @@ pipeline:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
base: registry.cn-qingdao.aliyuncs.com/wod/alpine-glibc:3.8 base: registry.cn-qingdao.aliyuncs.com/wod/alpine-glibc:3.8
repo: apaas/apaas-meshproxy repo: apaas/apaas-meshproxy
version: 3.0.3 version: 3.0.4
channel: alpha channel: alpha
registry: hub.wodcloud.com registry: hub.wodcloud.com
secrets: secrets:
......
...@@ -17,7 +17,7 @@ import ( ...@@ -17,7 +17,7 @@ import (
var Resp *http.Response var Resp *http.Response
func Proxy(c *gin.Context) { func Proxy(c *gin.Context) {
applyId := c.Query("applyId") applyId := c.Param("applyId")
if applyId == "" { if applyId == "" {
res := model.WebRes{} res := model.WebRes{}
res.Data = "applyId不能为空" res.Data = "applyId不能为空"
......
...@@ -31,7 +31,7 @@ func Load(middleware ...gin.HandlerFunc) http.Handler { ...@@ -31,7 +31,7 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
e.Use(middleware...) e.Use(middleware...)
root := e.Group(config.Prefix) root := e.Group(config.Prefix)
{ {
root.Any("/proxy", handler.Proxy) root.Any("/:svcId/:applyId", handler.Proxy)
} }
e.GET("/health", handler.Health) e.GET("/health", handler.Health)
return e return e
......
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