fix(charge):基本完成用户充值功能部分的测试。

This commit is contained in:
徐涛
2023-06-08 21:59:01 +08:00
parent 0c725e99a4
commit 7f43965f1c
3 changed files with 12 additions and 12 deletions

View File

@@ -24,9 +24,9 @@ type UserChargeDetail struct {
}
type ChargeRecordCreationForm struct {
UserId string `json:"userId"`
Fee *decimal.Decimal `json:"fee"`
Discount *decimal.Decimal `json:"discount"`
Amount *decimal.Decimal `json:"amount"`
ChargeTo types.Date `json:"chargeTo"`
UserId string `json:"userId"`
Fee decimal.NullDecimal `json:"fee"`
Discount decimal.NullDecimal `json:"discount"`
Amount decimal.NullDecimal `json:"amount"`
ChargeTo types.Date `json:"chargeTo"`
}