fix(#16):修复商户入驻时间为指定日期,并非当前日期

This commit is contained in:
DEKA_123 2023-08-10 16:33:41 +08:00
parent c89a5f20ad
commit 98866a8de5
3 changed files with 4 additions and 3 deletions

View File

@ -226,7 +226,7 @@ func (tr _TenementRepository) AddTenement(tx pgx.Tx, ctx context.Context, pid st
Bank: tools.DefaultOrEmptyStr(tenement.Bank, ""),
Account: tools.DefaultOrEmptyStr(tenement.Account, ""),
},
currentTime,
tenement.MoveIn,
currentTime,
currentTime,
}...,

View File

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

View File

@ -18,6 +18,7 @@ type TenementCreationForm struct {
InvoicePhone *string `json:"invoicePhone"`
Bank *string `json:"bank"`
Account *string `json:"bankAccount"`
MoveIn *string `json:"moveIn"`
}
type TenementQueryResponse struct {