DocumentFilltextfieldsRequest.go 714 B

1234567891011121314151617181920212223
  1. package document_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 DocumentFilltextfieldsRequest struct {
  8. // 【签署文档添加表单域】签署文档添加表单域
  9. RequestParams []*common.FormDto `json:"requestParams,omitempty"`
  10. }
  11. func (obj DocumentFilltextfieldsRequest) GetUrl() string {
  12. return "/document/fillTextFields"
  13. }
  14. func (obj DocumentFilltextfieldsRequest) GetHttpParameter() *http.HttpParameter {
  15. parameter := http.NewPostHttpParameter()
  16. jsonBytes, _ := json.Marshal(obj.RequestParams)
  17. parameter.SetJsonParamer(string(jsonBytes))
  18. return parameter
  19. }