Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-meshproxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-meshproxy
Commits
9760f193
"src/pages/authority/user/users.vue" did not exist on "e0919d59e7cb30262e72b5e577adf2cf84b6efc5"
Commit
9760f193
authored
Jun 24, 2020
by
张宇迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字段过滤
parent
fd4727d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
.beagle.yml
.beagle.yml
+1
-1
src/handler/proxyhandler.go
src/handler/proxyhandler.go
+1
-1
src/router/router.go
src/router/router.go
+1
-1
No files found.
.beagle.yml
View file @
9760f193
...
@@ -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
:
...
...
src/handler/proxyhandler.go
View file @
9760f193
...
@@ -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不能为空"
...
...
src/router/router.go
View file @
9760f193
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment