PaySelection.go 433 B

1234567891011121314151617181920
  1. package http_model
  2. type PaySelectionRequest struct {
  3. PayMoney float64 `json:"pay_money"`
  4. SelectionId string `json:"selection_id"`
  5. }
  6. type PaySelectionData struct {
  7. SelectionId string `json:"selection_id"`
  8. }
  9. func NewPaySelectionRequest() *PaySelectionRequest {
  10. return new(PaySelectionRequest)
  11. }
  12. func NewPaySelectionResponse() *CommonResponse {
  13. resp := new(CommonResponse)
  14. resp.Data = new(PaySelectionData)
  15. return resp
  16. }