feat(app): update
This commit is contained in:
57
pkg/dto/response/MddResponse.go
Normal file
57
pkg/dto/response/MddResponse.go
Normal file
@ -0,0 +1,57 @@
|
||||
package response
|
||||
|
||||
type MddResponse struct {
|
||||
Code int `json:"code"`
|
||||
Data MddCustomer `json:"data"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type MddCustomer struct {
|
||||
AccountList []MddAccount `json:"accountList"`
|
||||
Avatar string `json:"avatar"`
|
||||
ConsumeAmount float64 `json:"consumeAmount"`
|
||||
ConsumeTimes int64 `json:"consumeTimes"`
|
||||
CreateTime string `json:"createTime"`
|
||||
DDAppID string `json:"ddAppId"`
|
||||
Gender string `json:"gender"`
|
||||
ID string `json:"id"`
|
||||
IDCard string `json:"idCard"`
|
||||
IsAuth string `json:"isAuth"`
|
||||
Memo string `json:"memo"`
|
||||
Mobile string `json:"mobile"`
|
||||
RechargeAmount float64 `json:"rechargeAmount"`
|
||||
RechargeTimes int64 `json:"rechargeTimes"`
|
||||
Status string `json:"status"`
|
||||
TrueName string `json:"trueName"`
|
||||
UserName string `json:"userName"`
|
||||
UserNo string `json:"userNo"`
|
||||
YyNo string `json:"yyNo"`
|
||||
}
|
||||
|
||||
type MddAccount struct {
|
||||
Balance float64 `json:"balance"`
|
||||
CardID float64 `json:"cardId"`
|
||||
CardName string `json:"cardName"`
|
||||
CardType string `json:"cardType"`
|
||||
CreateAt string `json:"createAt"`
|
||||
CustomerID int64 `json:"customerId"`
|
||||
CustomerName string `json:"customerName"`
|
||||
CustomerNo string `json:"customerNo"`
|
||||
DiscountRate float64 `json:"discountRate"`
|
||||
FrozenBalance float64 `json:"frozenBalance"`
|
||||
GiveBalance float64 `json:"giveBalance"`
|
||||
ID string `json:"id,omitempty"`
|
||||
SellerNickName string `json:"sellerNickName"`
|
||||
}
|
||||
|
||||
// 同步返回的数据
|
||||
type SyncData struct {
|
||||
TotalDiamond int
|
||||
TotalConsumeAmount int
|
||||
}
|
||||
|
||||
type MddSyncResponse struct {
|
||||
Code int `json:"code"`
|
||||
Data SyncData `json:"data"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
Reference in New Issue
Block a user