fix(#16):修复商户入驻时间为指定日期,并非当前日期
This commit is contained in:
parent
c89a5f20ad
commit
98866a8de5
|
@ -226,7 +226,7 @@ func (tr _TenementRepository) AddTenement(tx pgx.Tx, ctx context.Context, pid st
|
||||||
Bank: tools.DefaultOrEmptyStr(tenement.Bank, ""),
|
Bank: tools.DefaultOrEmptyStr(tenement.Bank, ""),
|
||||||
Account: tools.DefaultOrEmptyStr(tenement.Account, ""),
|
Account: tools.DefaultOrEmptyStr(tenement.Account, ""),
|
||||||
},
|
},
|
||||||
currentTime,
|
tenement.MoveIn,
|
||||||
currentTime,
|
currentTime,
|
||||||
currentTime,
|
currentTime,
|
||||||
}...,
|
}...,
|
||||||
|
|
|
@ -12,9 +12,9 @@ Server:
|
||||||
ReadTimeout: 60
|
ReadTimeout: 60
|
||||||
WriteTimeout: 60
|
WriteTimeout: 60
|
||||||
Redis:
|
Redis:
|
||||||
Host: 127.0.0.1
|
Host: 192.168.88.129
|
||||||
Port: 6379
|
Port: 6379
|
||||||
Password:
|
Password: 123456
|
||||||
DB: 1
|
DB: 1
|
||||||
Service:
|
Service:
|
||||||
MaxSessionLife: 2h
|
MaxSessionLife: 2h
|
||||||
|
|
|
@ -18,6 +18,7 @@ type TenementCreationForm struct {
|
||||||
InvoicePhone *string `json:"invoicePhone"`
|
InvoicePhone *string `json:"invoicePhone"`
|
||||||
Bank *string `json:"bank"`
|
Bank *string `json:"bank"`
|
||||||
Account *string `json:"bankAccount"`
|
Account *string `json:"bankAccount"`
|
||||||
|
MoveIn *string `json:"moveIn"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TenementQueryResponse struct {
|
type TenementQueryResponse struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user