fix: 修改时区问题

This commit is contained in:
chenwj 2023-05-27 17:33:26 +08:00
parent 885f5a44d6
commit 4b8aaacca6
4 changed files with 8 additions and 4 deletions

View File

@ -19,6 +19,10 @@ FROM alpine
WORKDIR /app
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
COPY --from=build /app/main /app/main
EXPOSE 8000

View File

@ -1,6 +1,6 @@
[mysql]
user = test
password = 123456
host = localhost
host = 172.17.0.1
port = 3306
database = lottery
database = weixin

View File

@ -2,8 +2,8 @@ package main
import (
"log"
v1 "wx-backend-go/api/v1"
v2 "wx-backend-go/api/v2"
v1 "wx-backend-go/src/api/v1"
v2 "wx-backend-go/src/api/v2"
"github.com/gin-gonic/gin"
)