PaySelectionRequest.go 501 B

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