MobilesealLoginReportBizResultRequest.go 942 B

1234567891011121314151617181920212223242526
  1. package others_request
  2. import (
  3. "encoding/json"
  4. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  5. )
  6. type MobilesealLoginReportBizResultRequest struct {
  7. // 【本次登录任务id】本次登录任务id
  8. LoginSid string `json:"loginSid"`
  9. // 【成功/失败】成功/失败 【传参】 取值范围:true(成功),false(失败)
  10. LoginResult *bool `json:"loginResult"`
  11. // 【失败原因】失败原因 【传参】 1.登录失败后可传入,辅助扫码用户查看对应失败原因; 2.成功时传入不生效
  12. FailReason string `json:"failReason"`
  13. }
  14. func (obj MobilesealLoginReportBizResultRequest) GetUrl() string {
  15. return "/mobileseal/login/report/biz/result"
  16. }
  17. func (obj MobilesealLoginReportBizResultRequest) GetHttpParameter() *http.HttpParameter {
  18. parameter := http.NewPostHttpParameter()
  19. jsonBytes, _ := json.Marshal(obj)
  20. parameter.SetJsonParamer(string(jsonBytes))
  21. return parameter
  22. }