create_sub_account.go 645 B

123456789101112131415161718192021222324
  1. package http_model
  2. type CreateSubAccountRequest struct {
  3. SubAccountName string `json:"sub_account_name"`
  4. Job int `json:"job_id"`
  5. PhoneNumber string `json:"phone_number"`
  6. Code string `json:"code"`
  7. AccountID int64 `json:"account_id"`
  8. }
  9. type YounggeeSubAccountsRes struct {
  10. PhoneNumber string `json:"phone_number"`
  11. SubAccountName string `json:"sub_account_name"`
  12. JobID int `json:"job_id"`
  13. }
  14. func NewCreateSubAccountRequest() *CreateSubAccountRequest {
  15. return new(CreateSubAccountRequest)
  16. }
  17. func NewCreateSubAccountResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. return resp
  20. }