BinaryBatchCancelRequest.go 784 B

123456789101112131415161718192021222324
  1. package binary_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 BinaryBatchCancelRequest struct {
  8. // <ext>core:true</ext> 【作废的数据签名】作废的数据签名
  9. DataSignList []*common.BinaryBatchCancelDataSignListRequest `json:"dataSignList"`
  10. Operator *common.NameUserInfoRequest `json:"operator"`
  11. }
  12. func (obj BinaryBatchCancelRequest) GetUrl() string {
  13. return "/binary/batch/cancel"
  14. }
  15. func (obj BinaryBatchCancelRequest) GetHttpParameter() *http.HttpParameter {
  16. parameter := http.NewPostHttpParameter()
  17. jsonBytes, _ := json.Marshal(obj)
  18. parameter.SetJsonParamer(string(jsonBytes))
  19. return parameter
  20. }