FilePinRequest.go 756 B

1234567891011121314151617181920
  1. package file_request
  2. import (
  3. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  4. )
  5. type FilePinRequest struct {
  6. // <ext>format:phone;core:true</ext> 【加/解密手机号】加/解密手机号 【作用】 获取指定手机号验证码,进行加解密的意愿校验 【传参】 手机号允许使用大陆、港澳台、国际手机号,手机号格式为:区号+空格+手机号,例:852 9xxxxxxx ,大陆手机号可以不传区号。
  7. Contact string `json:"contact,omitempty"`
  8. }
  9. func (obj FilePinRequest) GetUrl() string {
  10. return "/file/pin"
  11. }
  12. func (obj FilePinRequest) GetHttpParameter() *http.HttpParameter {
  13. parameter := http.NewGetHttpParameter()
  14. parameter.AddParam("contact", obj.Contact)
  15. return parameter
  16. }