GetWithdrawalRecordRequest.go 597 B

123456789101112131415161718192021222324
  1. package http_model
  2. type GetWithdrawalRecordRequest struct {
  3. TalentId string `json:"talent_id"`
  4. }
  5. type WithdrawalRecordData struct {
  6. WithdrawAmount float32 `json:"withdraw_amount"`
  7. WithdrawAt string `json:"withdraw_at"`
  8. }
  9. type WithdrawalRecordPreview struct {
  10. WithdrawalRecordData []*WithdrawalRecordData `json:"withdrawal_record_data"`
  11. }
  12. func NewGetWithdrawalRecordRequest() *GetWithdrawalRecordRequest {
  13. return new(GetWithdrawalRecordRequest)
  14. }
  15. func NewGetWithdrawRecordRequest() *CommonResponse {
  16. resp := new(CommonResponse)
  17. resp.Data = new(WithdrawalRecordData)
  18. return resp
  19. }