SealApplyPressRequest.go 987 B

12345678910111213141516171819202122232425
  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 SealApplyPressRequest struct {
  8. // <ext>core:true;format:string</ext> 【用印申请id】用印申请id 【作用】 1、查询需催办的用印申请 2、催办该用印申请中的当前节点,当前节点状态必须为“审批中”或“待上传”,其他状态的节点不支持催办
  9. BusinessId *int64 `json:"businessId"`
  10. PressUser *common.UserInfoRequest `json:"pressUser,omitempty"`
  11. Operator *common.UserInfoRequest `json:"operator,omitempty"`
  12. }
  13. func (obj SealApplyPressRequest) GetUrl() string {
  14. return "/seal/apply/press"
  15. }
  16. func (obj SealApplyPressRequest) GetHttpParameter() *http.HttpParameter {
  17. parameter := http.NewPostHttpParameter()
  18. jsonBytes, _ := json.Marshal(obj)
  19. parameter.SetJsonParamer(string(jsonBytes))
  20. return parameter
  21. }