package http_model type FindAllSubAccountRequest struct { PageSize int64 `json:"page_size"` PageNum int64 `json:"page_num"` EnterpriseId string `json:"enterprise_id"` // 子账号属于的企业id JobId int `json:"job_id"` // 岗位ID AccountStatus int `json:"account_status"` // 账号状态,1为正常,2为停用 } type FindAllSubAccountInfo struct { SubAccountId int `json:"sub_account_id"` // 子账号ID PhoneNumber string `json:"phone_number"` // 手机号 SubAccountName string `json:"sub_account_name"` // 子账号名称 JobId int `json:"job_id"` // 岗位ID JobName string `json:"job_name"` // 岗位名称 EnterpriseId string `json:"enterprise_id"` // 所属商家账号ID EnterpriseName string `json:"enterprise_name"` // 创建人名称 AccountStatus int `json:"account_status"` // 账号状态,1为正常,2为停用 UserId int `json:"user_id"` // 用户表中ID } type FindAllSubAccountData struct { SubAccountInfo []*FindAllSubAccountInfo `json:"sub_account_info"` // 子账号信息列表 Total int64 `json:"total"` // 总数 } func NewFindAllSubAccountRequest() *FindAllSubAccountRequest { return new(FindAllSubAccountRequest) } func NewFindAllSubAccountResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(FindAllSubAccountData) return resp }