fix(report): 修复核算报表中园区获取错误

This commit is contained in:
ZiHangQin 2023-08-09 09:18:51 +08:00
parent ed5a3f6c0a
commit b59e24333e
2 changed files with 26 additions and 30 deletions

View File

@ -32,10 +32,6 @@ type Park struct {
CreatedAt time.Time `json:"createdAt"` CreatedAt time.Time `json:"createdAt"`
LastModifiedAt time.Time `json:"lastModifiedAt"` LastModifiedAt time.Time `json:"lastModifiedAt"`
DeletedAt *time.Time `json:"deletedAt"` DeletedAt *time.Time `json:"deletedAt"`
}
type Parks struct {
Park
NormAuthorizedLossRate float64 `json:"norm_authorized_loss_rate"` NormAuthorizedLossRate float64 `json:"norm_authorized_loss_rate"`
} }

View File

@ -12,9 +12,9 @@ Server:
ReadTimeout: 60 ReadTimeout: 60
WriteTimeout: 60 WriteTimeout: 60
Redis: Redis:
Host: 192.168.88.129 Host: 127.0.0.1
Port: 6379 Port: 6379
Password: 123456 Password:
DB: 1 DB: 1
Service: Service:
MaxSessionLife: 2h MaxSessionLife: 2h