create_sub_account.go 686 B

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