package others_request
import (
"encoding/json"
"git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
)
type ApiToolsRectPageRequest struct {
// core:true 【链接访问次数】链接访问次数 【作用】 1、限制链接访问次数,若超过次数则链接失效 2、若不传值,则访问次数无限制;若传入具体数值,则链接在访问所传具体值次数后失效,无法继续访问 【传参】 最小值:1。单位:次。
VisitNum *int64 `json:"visitNum,omitempty"`
// core:true 【链接有效期】链接有效期 【作用】 1、用于设置获取到的链接在多长时间后过期 2、参数不传值时,链接有效期取电子签章管理后台设置的“接口页面默认有效期 3、参数传入时长超过电子签章管理后台设置的“接口页面最大有效期天数”时,将以后台设置的有效期为准 【传参】 最小值:1。单位:秒。
ExpireTime *int64 `json:"expireTime,omitempty"`
// core:true 【页面语言】页面语言 【作用】 1、用于指定链接页面使用的语言 2、英文和日文页面为付费功能,请确认开通英文版系统和日文版系统后使用 【传参】 取值范围:ZH_CN(中文),EN_US(英文),JP(日文);不传值默认为:ZH_CN(中文)。
Language string `json:"language,omitempty"`
// core:true;format:color 【自定义页面主题色】自定义页面主题色 【作用】 可根据组织的品牌风格,自定义页面的主题颜色,如红色、蓝色 【传参】 RGB颜色(16进制),例如:#A67A7A。
ThemeColor string `json:"themeColor,omitempty"`
}
func (obj ApiToolsRectPageRequest) GetUrl() string {
return "/api/tools/rect/page"
}
func (obj ApiToolsRectPageRequest) GetHttpParameter() *http.HttpParameter {
parameter := http.NewPostHttpParameter()
jsonBytes, _ := json.Marshal(obj)
parameter.SetJsonParamer(string(jsonBytes))
return parameter
}