This commit is contained in:
parent
b4d60b891c
commit
3bd4b166be
@ -9,7 +9,9 @@ steps:
|
||||
use_cache: true
|
||||
username: docker@1780395505853616
|
||||
password: l4rQkKdtIOlHKkTv
|
||||
auto_tag: true
|
||||
# auto_tag: true
|
||||
tags:
|
||||
- v1
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
4
main.go
4
main.go
@ -104,11 +104,11 @@ func main() {
|
||||
initNacos()
|
||||
|
||||
app.GET("/hello", func(context *gin.Context) {
|
||||
context.String(http.StatusOK, "[GET]node01"+port)
|
||||
context.String(http.StatusOK, "[GET]-[API]-v1"+port)
|
||||
})
|
||||
|
||||
app.POST("/hello", func(context *gin.Context) {
|
||||
context.String(http.StatusOK, "[POST]node01"+port)
|
||||
context.String(http.StatusOK, "[POST]-[API]-v1"+port)
|
||||
})
|
||||
|
||||
app.GET("/ip", func(context *gin.Context) {
|
||||
|
Loading…
Reference in New Issue
Block a user