package command type CreateOrderPaymentCommand struct { //订单编号 OrderId int64 `json:"orderId"` DivdendPaymentItem []DivdendPyamentItem `json:"dividendPayment"` TotalPaymentAmount float64 `json:"payment_amount"` } type DivdendPyamentItem struct { // 货款 PaymentForGoods float64 `json:"paymentForGoods,omitempty"` // 支付状态 StateOfPayment int `json:"stateOfPayment,omitempty"` //支付批次 PaymentSn int `json:"paymentSn,omitempty"` } func (command CreateOrderPaymentCommand) ValidateCommand() error { return nil }