Merge branch 'gin' into 'master'

Gin

See merge request root/esg_report_backend!21
This commit is contained in:
徐聿成 2021-11-26 07:03:09 +00:00
commit 78606f57ae
2 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ RUN go env -w GO111MODULE=on
RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN go mod tidy
RUN go build -o mains .
EXPOSE 9090
EXPOSE 51002
ENTRYPOINT ["./mains"]

View File

@ -17,5 +17,5 @@ func InitRouter() {
toC.POST("/issue", Controllers.SetNews)
}
router.Run(":9090")
router.Run(":51002")
}