SealQueryCanRemoteConnectRequest.go 1.4 KB

1234567891011121314151617181920212223242526
  1. package seal_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 SealQueryCanRemoteConnectRequest struct {
  8. CompanyRequest *common.CompanyRequest `json:"companyRequest,omitempty"`
  9. // <ext>core:true</ext> 【印章类型名称】印章类型名称 【传参】 1、传入印章所属单位在电子签章前台【设置-印章类型设置】中启用的类型。
  10. SealCategoryName string `json:"sealCategoryName,omitempty"`
  11. // <ext>core:true</ext> 【印章自定义字段】印章自定义字段 【作用】 1、除印章类型、所属组织等基础信息以外,印章可能需要维护其他属性,例如保管部门、所用文种等 2、自定义字段可在电子签章前台配置,定义好后可通过该参数传入字段值或修改字段值 3、传入多个自定义字段时,则取各个字段匹配到的印章的交集。
  12. SealCustomFields []*common.SealCustomField `json:"sealCustomFields,omitempty"`
  13. }
  14. func (obj SealQueryCanRemoteConnectRequest) GetUrl() string {
  15. return "/seal/query/can/remote/connect"
  16. }
  17. func (obj SealQueryCanRemoteConnectRequest) GetHttpParameter() *http.HttpParameter {
  18. parameter := http.NewPostHttpParameter()
  19. jsonBytes, _ := json.Marshal(obj)
  20. parameter.SetJsonParamer(string(jsonBytes))
  21. return parameter
  22. }