Skip to content

Commit ef235ea

Browse files
committed
try fix: TZ
1 parent 5fef9ca commit ef235ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
image: ppolariss/advanced_web_backend:latest
1414
restart: unless-stopped
1515
environment:
16-
- DB_URL=user:password@tcp(db-service:3306)/advanced_web?charset=utf8mb4&parseTime=True
16+
- DB_URL=user:password@tcp(db-service:3306)/advanced_web?charset=utf8mb4&parseTime=True&loc=Local
1717
- MOSS_URL=${MOSS_URL}
1818
- MOSS_API_KEY=${MOSS_API_KEY}
1919
- TZ=Asia/Shanghai

driving/model/model.go

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type Data struct {
2828
//}
2929

3030
type Chat struct {
31+
ToID string `json:"to_id"`
3132
ID string `json:"id"`
3233
RoomID string `json:"roomID"`
3334
Type string `json:"type"`

0 commit comments

Comments
 (0)