MobilesealSignUploadDigestRequest.go 1.1 KB

1234567891011121314151617181920212223242526272829
  1. package others_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 MobilesealSignUploadDigestRequest struct {
  8. // 【本次签署任务id】本次签署任务id
  9. SignSid string `json:"signSid"`
  10. // 【待签署数据摘要的Base64】待签署数据摘要的Base64
  11. SignDigest string `json:"signDigest"`
  12. // 【当前签署的文件名称】当前签署的文件名称 【作用】 用于操作日志中记录签署的文件
  13. FileName string `json:"fileName,omitempty"`
  14. // 【签章次数】签章次数 【作用】 用于操作日志中记录印章签署次数
  15. SealCounts []*common.MobileSignSealCount `json:"sealCounts"`
  16. }
  17. func (obj MobilesealSignUploadDigestRequest) GetUrl() string {
  18. return "/mobileseal/sign/upload/digest"
  19. }
  20. func (obj MobilesealSignUploadDigestRequest) GetHttpParameter() *http.HttpParameter {
  21. parameter := http.NewPostHttpParameter()
  22. jsonBytes, _ := json.Marshal(obj)
  23. parameter.SetJsonParamer(string(jsonBytes))
  24. return parameter
  25. }