打包v1版本
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
李寻欢 2021-08-31 16:58:10 +08:00
parent b4d60b891c
commit 3bd4b166be
2 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,9 @@ steps:
use_cache: true use_cache: true
username: docker@1780395505853616 username: docker@1780395505853616
password: l4rQkKdtIOlHKkTv password: l4rQkKdtIOlHKkTv
auto_tag: true # auto_tag: true
tags:
- v1
when: when:
event: push event: push
branch: master branch: master

View File

@ -104,11 +104,11 @@ func main() {
initNacos() initNacos()
app.GET("/hello", func(context *gin.Context) { 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) { 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) { app.GET("/ip", func(context *gin.Context) {