V2SealPersonalListRequest.go 1.6 KB

1234567891011121314151617181920212223242526272829
  1. package v2seal_request
  2. import (
  3. "encoding/json"
  4. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  5. "git.sxidc.com/student-physical-examination/contract_lock_sdk/model/common"
  6. )
  7. type V2SealPersonalListRequest struct {
  8. User *common.UserInfoRequest `json:"user,omitempty"`
  9. Company *common.CompanyRequest `json:"company,omitempty"`
  10. // <ext>core:true</ext> 【返回的图片宽度】返回的图片宽度 【传参】 1、单位:像素。 2、宽度与高度都未传时,则按照默认大小返回图片。 3、若仅传宽度,没传高度,则按照传入的宽度等比例缩放。
  11. Width *int64 `json:"width,omitempty"`
  12. // <ext>core:true</ext> 【返回的图片高度】返回的图片高度 【传参】 1、单位:像素。 2、宽度与高度都未传时,则按照默认大小返回图片。 3、若仅传高度,没传宽度,则按照传入的高度等比例缩放。
  13. Height *int64 `json:"height,omitempty"`
  14. // <ext>core:true</ext> 【签名状态】签名状态 【作用】 指定要查询什么状态下的签名 【传参】 取值范围:ALL(全部),NORMAL(启用),PRE_ADD(预制作),REVOKE(注销),FREEZE(停用);不传值默认为:NORMAL(启用)。
  15. PersonSealStatus string `json:"personSealStatus,omitempty"`
  16. }
  17. func (obj V2SealPersonalListRequest) GetUrl() string {
  18. return "/v2/seal/personal/list"
  19. }
  20. func (obj V2SealPersonalListRequest) GetHttpParameter() *http.HttpParameter {
  21. parameter := http.NewPostHttpParameter()
  22. jsonBytes, _ := json.Marshal(obj)
  23. parameter.SetJsonParamer(string(jsonBytes))
  24. return parameter
  25. }