forked from free-lancers/electricity_bill_calc_service
		
	feat(topup):基本完成商户充值部分接口,待测。
This commit is contained in:
		
							
								
								
									
										12
									
								
								vo/top_up.go
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								vo/top_up.go
									
									
									
									
									
								
							| @@ -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"` | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user