You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
940 B

package request
type AddAccount struct {
UserID string `gorm:"size:50;index" json:"userID"` //用户id
AccountName string `gorm:"size:50" json:"accountName"` //户名
IDCard string `gorm:"size:30" json:"idCard"` //身份证
Phone string `gorm:"size:20" json:"phone"` //手机号
PayPalName string `gorm:"size:50" json:"payPalName"` //paypal账号
Code string `json:"code"`
Platform string `gorm:"size:50" json:"platform"` //平台 saller(买家端) / customer(客户端) / influencer(网红端)
}
type DeleteAccount struct {
ID uint `json:"id" form:"id"` //主键
Phone string `json:"phone"` //手机号
Code string `json:"code"` //验证码
}
type SearchCommission struct {
Receipt int `json:"receipt" form:"receipt"` //是否已到账 1-是 2-否
PageInfo
}
type SearchWithdrawal struct {
Status int `json:"status"` //类型 1-支出 2-收入
PageInfo
}