feat(topup):基本完成商户充值部分接口,待测。

This commit is contained in:
徐涛
2023-06-19 15:49:16 +08:00
parent 234e811324
commit 2b5272dad9
4 changed files with 164 additions and 0 deletions

View File

@@ -7,3 +7,15 @@ type TopUpCreationForm struct {
Meter string `json:"meter"`
Amount decimal.Decimal `json:"amount"`
}
type TopUpDetailQueryResponse struct {
Id string `json:"id" copier:"topUpCode"`
Tenement string `json:"tenement"`
TenementName string `json:"tenementName"`
Meter string `json:"meter"`
MeterAddress string `json:"meterAddress"`
ToppedUpAt string `json:"toppedUpAt"`
Amount decimal.Decimal `json:"amount"`
PaymentType int16 `json:"paymentType"`
SyncStatus int16 `json:"syncStatus" copier:"SyncStatus"`
}