update_sub_account.go 914 B

1234567891011121314151617181920212223242526
  1. package http_model
  2. type UpdateSubAccountRequest struct {
  3. SubAccountId int `json:"sub_account_id"` // 子账号ID
  4. SubAccountName string `json:"sub_account_name"` // 子账号名称
  5. Phone string `json:"phone"` // 绑定手机
  6. Code string `json:"code"` // 验证码
  7. JobId int `json:"job_id"` // 岗位ID
  8. }
  9. type UpdateSubAccountInfo struct {
  10. SubAccountId int `json:"sub_account_id"` // 子账号ID
  11. SubAccountName string `json:"sub_account_name"` // 子账号名称
  12. Phone string `json:"phone"` // 绑定手机
  13. JobId int `json:"job_id"` // 岗位ID
  14. }
  15. func NewUpdateSubAccountRequest() *UpdateSubAccountRequest {
  16. return new(UpdateSubAccountRequest)
  17. }
  18. func NewUpdateSubAccountResponse() *CommonResponse {
  19. resp := new(CommonResponse)
  20. resp.Data = new(UpdateSubAccountInfo)
  21. return resp
  22. }