ContractCustomizeFieldImgDownloadRequest.go 1.3 KB

1234567891011121314151617181920212223242526
  1. package contract_request
  2. import (
  3. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  4. )
  5. type ContractCustomizeFieldImgDownloadRequest struct {
  6. // <ext>core:true</ext> 【电子签约文件ID】电子签约文件ID 【作用】 指定需查询的电子签约文件 【传参】 电子签约文件id和第三方业务系统文件id必传其一,均传入以电子签约文件id为准
  7. ContractId string `json:"contractId,omitempty"`
  8. // <ext>core:true</ext> 【第三方业务系统文件id】第三方业务系统文件id 【作用】 指定需查询的电子签约文件 【传参】 电子签约文件id和第三方业务系统文件id必传其一,均传入以电子签约文件id为准。
  9. BizId string `json:"bizId,omitempty"`
  10. // <ext>core:true</ext> 【图片key值】图片key值 【作用】 获取电子签约图片自定义字段中维护的图片文件
  11. ImgFileKey string `json:"imgFileKey,omitempty"`
  12. }
  13. func (obj ContractCustomizeFieldImgDownloadRequest) GetUrl() string {
  14. return "/contract/customize/field/img/download"
  15. }
  16. func (obj ContractCustomizeFieldImgDownloadRequest) GetHttpParameter() *http.HttpParameter {
  17. parameter := http.NewGetHttpParameter()
  18. parameter.AddParam("contractId", obj.ContractId)
  19. parameter.AddParam("bizId", obj.BizId)
  20. parameter.AddParam("imgFileKey", obj.ImgFileKey)
  21. return parameter
  22. }