package http_model type UpdateSubAccountRequest struct { SubAccountId int `json:"sub_account_id"` // 子账号ID SubAccountName string `json:"sub_account_name"` // 子账号名称 Phone string `json:"phone"` // 绑定手机 Code string `json:"code"` // 验证码 JobId int `json:"job_id"` // 岗位ID } type UpdateSubAccountInfo struct { SubAccountId int `json:"sub_account_id"` // 子账号ID SubAccountName string `json:"sub_account_name"` // 子账号名称 Phone string `json:"phone"` // 绑定手机 JobId int `json:"job_id"` // 岗位ID } func NewUpdateSubAccountRequest() *UpdateSubAccountRequest { return new(UpdateSubAccountRequest) } func NewUpdateSubAccountResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(UpdateSubAccountInfo) return resp }