|
@@ -17,23 +17,23 @@ const (
|
|
|
)
|
|
|
|
|
|
type TradeOrderView struct {
|
|
|
- RealName string `json:"realName"`
|
|
|
- Mobile string `json:"mobile"`
|
|
|
- ProductName string `json:"productName"`
|
|
|
- TransactionID string `json:"transactionId"`
|
|
|
- ProductOrderID string `json:"productOrderId"`
|
|
|
- PaymentAccount string `json:"paymentAccount"`
|
|
|
- PaymentWay string `json:"paymentWay"`
|
|
|
+ RealName string `json:"RealName"`
|
|
|
+ Mobile string `json:"Mobile"`
|
|
|
+ ProductName string `json:"ProductName"`
|
|
|
+ TransactionID string `json:"TransactionId"`
|
|
|
+ ProductOrderID string `json:"ProductOrderId"`
|
|
|
+ PaymentAccount string `json:"PaymentAccount"`
|
|
|
+ PaymentWay string `json:"PaymentWay"`
|
|
|
|
|
|
- Amount string `json:"amount"`
|
|
|
- Currency string `json:"currency"`
|
|
|
- MerchantID string `json:"merchantI"`
|
|
|
- UserID int `json:"userId"`
|
|
|
- TemplateUserID int `json:"templateUserId"`
|
|
|
- PaymentType string `json:"paymentType"`
|
|
|
- PaymentStatus string `json:"paymentStatus"`
|
|
|
- DealTime string `json:"dealTime"`
|
|
|
- CreatedTime string `json:"createdTime"`
|
|
|
+ Amount string `json:"Amount"`
|
|
|
+ Currency string `json:"Currency"`
|
|
|
+ MerchantID string `json:"MerchantI"`
|
|
|
+ UserID int `json:"UserId"`
|
|
|
+ TemplateUserID int `json:"TemplateUserId"`
|
|
|
+ PaymentType string `json:"PaymentType"`
|
|
|
+ PaymentStatus string `json:"PaymentStatus"`
|
|
|
+ DealTime string `json:"DealTime"`
|
|
|
+ CreatedTime string `json:"CreatedTime"`
|
|
|
}
|
|
|
type TradeOrder struct {
|
|
|
Id uint `gorm:"primaryKey;autoIncrement" json:"id"`
|