package user_request import ( "encoding/json" "git.sxidc.com/student-physical-examination/contract_lock_sdk/http" "git.sxidc.com/student-physical-examination/contract_lock_sdk/model/common" ) type UserLogoutUrlRequest struct { User *common.UserInfoRequest `json:"user"` // core:true 【完成注销跳转页面地址】完成注销跳转页面地址 【作用】 完成注销时会跳转至传入地址,未传值时会停留在当前页面 SuccessPage string `json:"successPage,omitempty"` // core:true 【取消注销跳转页面地址】取消注销跳转页面地址 【作用】 取消注销时会跳转至传入地址,未传值时会停留在当前页面 EndPage string `json:"endPage,omitempty"` // core:true 【链接过期时间】链接过期时间 【作用】 1、用于设置获取到的链接在多长时间后过期,单位:秒 2、当该参数不传值时,其有效期将被设置为 “管理控制台-设置-开放平台-接口页面有效期配置-接口页面默认有效期“对应的时长 ExpireTime *int64 `json:"expireTime,omitempty"` PageStyle *common.PageStyle `json:"pageStyle,omitempty"` // core:true 【页面语言】页面语言 【传参】 取值范围:ZH_CN(中文),EN_US(英文),JP(日文);不传值默认为:ZH_CN(中文)。 Language string `json:"language,omitempty"` // core:true 【移动端页面导航头部】移动端页面导航头部 【作用】 1、移动端内嵌页面默认带有头部导航区域,且区域内提供返回按钮,嵌入其他app时会与app自带的导航头部区域航重复 2、可通过本参数控制签入移动端页面时是否提供头部导航区域 【传参】 取值范围:true(隐藏导航头部),false(显示导航头部);不传值默认为:false(显示导航头部)。 HideHeader *bool `json:"hideHeader,omitempty"` } func (obj UserLogoutUrlRequest) GetUrl() string { return "/user/logout/url" } func (obj UserLogoutUrlRequest) GetHttpParameter() *http.HttpParameter { parameter := http.NewPostHttpParameter() jsonBytes, _ := json.Marshal(obj) parameter.SetJsonParamer(string(jsonBytes)) return parameter }