subaccshowrequest.go 476 B

1234567891011121314151617181920
  1. package http_model
  2. type SubAccShowRequest struct {
  3. SubaccountId string `json:"sub_account_id"`
  4. }
  5. type GetSubAccountData struct {
  6. Phonenumber string `json:"phonenumber"`
  7. SubAccountName string `json:"sub_account_name"`
  8. JobId int `json:"job_id"`
  9. }
  10. func NewSubAccShowRequest() *SubAccShowRequest {
  11. return new(SubAccShowRequest)
  12. }
  13. func NewSubAccShowResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(GetSubAccountData)
  16. return resp
  17. }