rexTypes

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolHttp  = "http"
	ProtocolHttps = "https"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowCreateModelIndustry

type AllowCreateModelIndustry struct {
	Name              string `json:"name"`                        // 名称
	Qualification     string `json:"qualification"`               // 资质要求
	QualificationLink string `json:"qualification_link,optional"` // 资质要求,法律依据及示例的说明链接
	CategoryScope     string `json:"category_scope"`              // 类目适用范围
	Remark            string `json:"remark,optional"`             // 备注
	ParentId          uint32 `json:"parent_id,optional"`
	Sort              int64  `json:"sort,optional"`
}

type AllowCreateModelObject added in v1.0.8

type AllowCreateModelObject struct {
	ObjectType string            `json:"object_type"`
	Properties map[string]string `json:"properties,optional"`
}
type AllowCreateModelShortLink struct {
	OriginalUrl   string `json:"original_url"`
	SlType        int32  `json:"sl_type,optional,options=1|2|3"`
	ExpireAtUnix  int64  `json:"expire_at_unix,optional"`
	CreatorUserId string `json:"creator_user_id,optional"`
}

type AllowCreateModelTag

type AllowCreateModelTag struct {
	Name string `json:"name"`
	Sort int64  `json:"sort"`
}

type AllowUpdateModelIndustry

type AllowUpdateModelIndustry struct {
	Id                uint32 `json:"id"`
	Name              string `json:"name,optional"`           // 名称
	Qualification     string `json:"qualification,optional"`  // 资质要求
	QualificationLink string `json:"qualification_link"`      // 资质要求,法律依据及示例的说明链接
	CategoryScope     string `json:"category_scope,optional"` // 类目适用范围
	Remark            string `json:"remark"`                  // 备注
	ParentId          uint32 `json:"parent_id"`
	Sort              int64  `json:"sort,optional"`
}

type AllowUpdateModelObject added in v1.0.8

type AllowUpdateModelObject struct {
	Id         uint32            `json:"id"`
	ObjectType string            `json:"object_type,optional"`
	Properties map[string]string `json:"properties,optional"`
}
type AllowUpdateModelShortLink struct {
	Id            uint32 `json:"id"`
	OriginalUrl   string `json:"original_url,optional"`
	SlType        int32  `json:"sl_type,optional,options=1|2|3"`
	ExpireAtUnix  int64  `json:"expire_at_unix"`
	CreatorUserId string `json:"creator_user_id"`
}

type AllowUpdateModelTag

type AllowUpdateModelTag struct {
	Id   uint32 `json:"id"`
	Name string `json:"name,optional"`
	Sort int64  `json:"sort,optional"`
}

type AllowUpdateStatusModelIndustry

type AllowUpdateStatusModelIndustry struct {
	Id     uint32 `json:"id"`
	Status int32  `json:"status"`
}

type AllowUpdateStatusModelObject added in v1.0.8

type AllowUpdateStatusModelObject struct {
	Id     uint32 `json:"id"`
	Status int32  `json:"status"`
}
type AllowUpdateStatusModelShortLink struct {
	Id     uint32 `json:"id"`
	Status int32  `json:"status"`
}

type AllowUpdateStatusModelTag

type AllowUpdateStatusModelTag struct {
	Id     uint32 `json:"id"`
	Status int32  `json:"status"`
}

type ApiCaptchaGenerateReq

type ApiCaptchaGenerateReq struct {
	Key       string  `json:"key,optional"`
	DotCount  int32   `json:"dot_count,optional"`
	MaxSkew   float64 `json:"max_skew,optional"`
	KeyLong   int32   `json:"key_long,optional"`
	ImgWidth  int32   `json:"img_width,optional"`
	ImgHeight int32   `json:"img_height,optional"`
}

type ApiCaptchaGenerateResp

type ApiCaptchaGenerateResp struct {
	Key     string `json:"key,optional,omitempty"`
	Id      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
	Answer  string `json:"answer,omitempty"`
	Img     string `json:"img,omitempty"`
}

type ApiCaptchaGenerateRespData

type ApiCaptchaGenerateRespData struct {
	Key     string `json:"key,optional,omitempty"`
	Id      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
	Answer  string `json:"answer,omitempty"`
	Img     string `json:"img,omitempty"`
}

type ApiEmsSendReq added in v1.0.18

type ApiEmsSendReq struct {
	Key            string            `json:"key,optional"`
	RecipientEmail []string          `json:"recipient_email"`
	Cc             []ApiEmsSendReqCc `json:"cc,optional"`
	Subject        string            `json:"subject"`
	SendType       string            `json:"send_type"`
	SendBody       string            `json:"send_body"`
}

type ApiEmsSendReqCc added in v1.0.18

type ApiEmsSendReqCc struct {
	Email string `json:"key"`
	Name  string `json:"name"`
}

type ApiEmsSendResp added in v1.0.18

type ApiEmsSendResp struct {
	RequestID string `json:"request_id"`
}

type ApiSmsSendReq

type ApiSmsSendReq struct {
	Key    string   `json:"key,optional"`
	Mobile string   `json:"mobile"`
	Params []string `json:"params,optional"`
}

type ApiSmsSendResp

type ApiSmsSendResp struct {
	RequestID string `json:"requestId"`
}

type BehavioralVerificationInitReq

type BehavioralVerificationInitReq struct {
	Key     string `json:"key,optional"`
	Service string `json:"service"`
	Type    string `json:"type"`
}

type BehavioralVerificationInitResp

type BehavioralVerificationInitResp struct {
	Id      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
	Answer  string `json:"answer,omitempty"`
	Img     string `json:"img,omitempty"`
}

type BehavioralVerificationVerifyReq

type BehavioralVerificationVerifyReq struct {
	Id         string `json:"id"`
	Service    string `json:"service"`
	Type       string `json:"type"`
	VerifyCode string `json:"verify_code"`
}

type BehavioralVerificationVerifyResp

type BehavioralVerificationVerifyResp struct {
	Result bool `json:"result"`
}

type BootstrapReq

type BootstrapReq struct {
	AccessKey    string `form:"access_key"`
	AccessSecret string `form:"access_secret"`
}

type BootstrapResp

type BootstrapResp struct {
}

type CodesReq

type CodesReq struct {
	Lang string `form:"lang,optional" url:"lang"`
	Svc  string `form:"svc,optional" url:"svc"`
}

type CodesResp

type CodesResp struct {
	List     []ModelCode `json:"list"`
	Total    int64       `json:"total"`
	Page     int32       `json:"page"`
	PageSize int32       `json:"page_size"`
}

type CreateExistBucketAndConfigReq

type CreateExistBucketAndConfigReq struct {
	ConfigKey    string `json:"config_key,optional"`
	StorageType  string `json:"storage_type"`
	AppId        string `json:"app_id,optional"`
	AccessKey    string `json:"access_key"`
	AccessSecret string `json:"access_secret"`
	BucketKey    string `json:"bucket_key,optional"`
	Name         string `json:"name"`
	Region       string `json:"region"`
	IsAccelerate int32  `json:"is_accelerate"`
	Prefix       string `json:"prefix"`
	StaticDomain string `json:"static_domain"`
	CdnDomain    string `json:"cdn_domain"`
}

type CreateExistBucketAndConfigResp

type CreateExistBucketAndConfigResp struct {
}

type CreateExistBucketNoConfigReq

type CreateExistBucketNoConfigReq struct {
	ConfigKey    string `json:"config_key,optional"`
	BucketKey    string `json:"bucket_key,optional"`
	Name         string `json:"name"`
	Region       string `json:"region"`
	IsAccelerate int32  `json:"is_accelerate"`
	Prefix       string `json:"prefix"`
	StaticDomain string `json:"static_domain"`
	CdnDomain    string `json:"cdn_domain"`
}

type CreateExistBucketNoConfigResp

type CreateExistBucketNoConfigResp struct {
}

type CtasPeriodicJobAddReq added in v1.0.5

type CtasPeriodicJobAddReq struct {
	Name    string `json:"name"`    // 任务名称
	Spec    string `json:"spec"`    // cron表达式
	Webhook string `json:"webhook"` // 回调地址
	Params  string `json:"params"`  // 回调参数
	Secret  string `json:"secret"`  // 回调密钥
}

type CtasPeriodicJobAddResp added in v1.0.5

type CtasPeriodicJobAddResp struct {
	Id uint `json:"id"`
}

type CtasPeriodicJobRemoveReq added in v1.0.5

type CtasPeriodicJobRemoveReq struct {
	Id uint `json:"id"`
}

type CtasPeriodicJobRemoveResp added in v1.0.5

type CtasPeriodicJobRemoveResp struct {
}

type EncryptReq

type EncryptReq struct {
	Data string `json:"data"`
}

type EncryptResp

type EncryptResp struct {
	Data string `json:"data"`
}

type GetIpMyReq added in v1.0.5

type GetIpMyReq struct {
}

type GetIpQueryReq added in v1.0.5

type GetIpQueryReq struct {
	Ip string `form:"ip"`
}

type GetIpQueryResp added in v1.0.5

type GetIpQueryResp struct {
	IP        string `json:"ip"`        // IP地址
	IPHash    string `json:"ipHash"`    // IPHash
	Port      string `json:"port"`      // Port
	UserAgent string `json:"userAgent"` // UserAgent
	CityId    int64  `json:"cityId"`    // CityId
	Country   string `json:"country"`   // Country
	Region    string `json:"region"`    // Region
	Province  string `json:"province"`  // Province
	City      string `json:"city"`      // City
	ISP       string `json:"isp"`       // ISP
}

type GetRedirectResultReq

type GetRedirectResultReq struct {
	ShortId string `json:"short_id"`
}

type GetRedirectResultResp

type GetRedirectResultResp struct {
	Url string `json:"url"`
}

type HealthzResp

type HealthzResp struct {
}

type IndustryApiCreateResp

type IndustryApiCreateResp struct {
	Id uint32 `json:"id"`
}

type IndustryApiFormIdReq

type IndustryApiFormIdReq struct {
	Id uint32 `form:"id"`
}

type IndustryApiJsonIdReq

type IndustryApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type IndustryApiJsonIdsReq

type IndustryApiJsonIdsReq struct {
	Ids []uint32 `json:"ids"`
}

type IndustryApiOKResp

type IndustryApiOKResp struct {
}

type IndustryCommonQueryListResp

type IndustryCommonQueryListResp struct {
	List     []ModelIndustry `json:"list"`
	Total    int64           `json:"total"`
	Page     int32           `json:"page"`
	PageSize int32           `json:"page_size"`
}

type IndustryCommonSearchParams

type IndustryCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int32  `json:"status,optional"`
	ParentId       uint32 `json:"parent_id,optional"`
	OnlyParent     bool   `json:"only_parent,optional"` // 是否只查询父级行业
}

type IpWhiteReq

type IpWhiteReq struct {
	Ip     string `json:"ip"`
	Remark string `json:"remark"`
}

type IpWhiteResp

type IpWhiteResp struct {
}

type KmsAkcCreateKeychainReq

type KmsAkcCreateKeychainReq struct {
	KeyType string `json:"key_type"`
	Name    string `json:"name"`
	Alg     string `json:"alg,options=ES256|ES256K|ES384|ES512|EdDSA|PS256|PS384|PS512|RS256|RS384|RS512"`
	RsaBits int    `json:"rsa_bits,optional"`
}

type KmsAkcCreateKeychainResp

type KmsAkcCreateKeychainResp struct {
	Id        uint32   `json:"id"`
	Jwk       ModelJwk `json:"jwk"`
	PublicKey string   `json:"public_key"`
}

type KmsAkcGetKeychainPublicKeyReq

type KmsAkcGetKeychainPublicKeyReq struct {
	Name string `json:"name,optional"`
	Kid  string `json:"kid,optional"`
}

type KmsAkcGetKeychainPublicKeyResp

type KmsAkcGetKeychainPublicKeyResp struct {
	PublicKey string   `json:"public_key"`
	Jwk       ModelJwk `json:"jwk"`
}

type KmsAkcSignReq

type KmsAkcSignReq struct {
	Name        string `json:"name,optional"`
	SignContent string `json:"sign_content"`
	Kid         string `json:"kid,optional"`
}

type KmsAkcSignResp

type KmsAkcSignResp struct {
	Name string `json:"name,optional"`
	Sign string `json:"sign"`
}

type KmsAkcVerifyReq

type KmsAkcVerifyReq struct {
	Name string `json:"name,optional"`
	Sign string `json:"sign"`
	Kid  string `json:"kid,optional"`
}

type KmsAkcVerifyResp

type KmsAkcVerifyResp struct {
	Name   string `json:"name"`
	Verify bool   `json:"verify"`
}

type KmsSkcBatchDecryptReq

type KmsSkcBatchDecryptReq struct {
	Data map[string]KmsSkcBatchDecryptReqItem `json:"data"`
}

type KmsSkcBatchDecryptReqItem

type KmsSkcBatchDecryptReqItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcBatchDecryptResp

type KmsSkcBatchDecryptResp struct {
	Data map[string]KmsSkcBatchDecryptRespItem `json:"data"`
}

type KmsSkcBatchDecryptRespItem

type KmsSkcBatchDecryptRespItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcBatchEncryptReq

type KmsSkcBatchEncryptReq struct {
	Data map[string]KmsSkcBatchEncryptReqItem `json:"data"`
}

type KmsSkcBatchEncryptReqItem

type KmsSkcBatchEncryptReqItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcBatchEncryptResp

type KmsSkcBatchEncryptResp struct {
	Data map[string]KmsSkcBatchEncryptRespItem `json:"data"`
}

type KmsSkcBatchEncryptRespItem

type KmsSkcBatchEncryptRespItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcCompareItem

type KmsSkcCompareItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcCompareReq

type KmsSkcCompareReq struct {
	List []KmsSkcCompareItem `json:"list"`
}

type KmsSkcCompareResp

type KmsSkcCompareResp struct {
	Status      string                      `json:"status"`
	CompareData bool                        `json:"compare_data"`
	List        []KmsSkcCompareRespDataItem `json:"list"`
}

type KmsSkcCompareRespData

type KmsSkcCompareRespData struct {
	Status      string                      `json:"status"`
	CompareData bool                        `json:"compare_data"`
	List        []KmsSkcCompareRespDataItem `json:"list"`
}

type KmsSkcCompareRespDataItem

type KmsSkcCompareRespDataItem struct {
	Status   string `json:"status"`
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcCreateKeychainReq

type KmsSkcCreateKeychainReq struct {
	Algorithm string `json:"algorithm"`
	Name      string `json:"name"`
}

type KmsSkcCreateKeychainResp

type KmsSkcCreateKeychainResp struct {
	Status string `json:"status"`
	Name   string `json:"name"`
}

type KmsSkcDecryptReq

type KmsSkcDecryptReq struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcDecryptResp

type KmsSkcDecryptResp struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcEncryptReq

type KmsSkcEncryptReq struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcEncryptResp

type KmsSkcEncryptResp struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type ModelClient added in v1.0.5

type ModelClient struct {
	IP              string `json:"ip"`              // IP地址
	IPHash          string `json:"ipHash"`          // IPHash
	Port            string `json:"port"`            // Port
	UserAgent       string `json:"userAgent"`       // UserAgent
	CityId          int64  `json:"cityId"`          // CityId
	Country         string `json:"country"`         // Country
	Region          string `json:"region"`          // Region
	Province        string `json:"province"`        // Province
	City            string `json:"city"`            // City
	ISP             string `json:"isp"`             // ISP
	UserAgentFamily string `json:"userAgentFamily"` // UserAgentFamily
	UserAgentMajor  string `json:"userAgentMajor"`  // UserAgentMajor
	UserAgentMinor  string `json:"userAgentMinor"`  // UserAgentMinor
	UserAgentPatch  string `json:"userAgentPatch"`  // UserAgentPatch
	OsFamily        string `json:"osFamily"`        // OsFamily
	OsMajor         string `json:"osMajor"`         // OsMajor
	OsMinor         string `json:"osMinor"`         // OsMinor
	OsPatch         string `json:"osPatch"`         // OsPatch
	OsPatchMinor    string `json:"osPatchMinor"`    // OsPatchMinor
	DeviceFamily    string `json:"deviceFamily"`    // DeviceFamily
	DeviceBrand     string `json:"deviceBrand"`     // DeviceBrand
	DeviceModel     string `json:"deviceModel"`     // DeviceModel
}

type ModelCode

type ModelCode struct {
	Code string `json:"code"`
	Num  int32  `json:"num"`
	Msg  string `json:"msg"`
}

type ModelIndustry

type ModelIndustry struct {
	Id                uint32 `json:"id"`
	CreatedAtUnix     int64  `json:"created_at_unix"`
	UpdatedAtUnix     int64  `json:"updated_at_unix"`
	Status            int32  `json:"status"`             // 状态
	Name              string `json:"name"`               // 名称
	Qualification     string `json:"qualification"`      // 资质要求
	QualificationLink string `json:"qualification_link"` // 资质要求,法律依据及示例的说明链接
	CategoryScope     string `json:"category_scope"`     // 类目适用范围
	Remark            string `json:"remark"`             // 备注
	ParentId          uint32 `json:"parent_id"`
	Sort              int64  `json:"sort"`
}

type ModelJwk added in v1.0.15

type ModelJwk struct {
	Kty string `json:"kty,omitempty"`
	Alg string `json:"alg,omitempty"`
	Use string `json:"use,omitempty"`
	Kid string `json:"kid,omitempty"`
	N   string `json:"n,omitempty"`
	E   string `json:"e,omitempty"`
	X   string `json:"x,omitempty"`
	Y   string `json:"y,omitempty"`
	Crv string `json:"crv,omitempty"`
}

type ModelObject added in v1.0.8

type ModelObject struct {
	Id            uint32            `json:"id"`
	CreatedAtUnix int64             `json:"created_at_unix"`
	UpdatedAtUnix int64             `json:"updated_at_unix"`
	Status        int32             `json:"status"` // 状态
	ObjectId      string            `json:"object_id"`
	ObjectType    string            `json:"object_type"`
	Properties    map[string]string `json:"properties"`
}
type ModelShortLink struct {
	Id            uint32 `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix"`
	UpdatedAtUnix int64  `json:"updated_at_unix"`
	Key           string `json:"key"`
	OriginalUrl   string `json:"original_url"`
	SlType        int32  `json:"sl_type"`
	ExpireAtUnix  int64  `json:"expire_at_unix"`
	CreatorUserId string `json:"creator_user_id"`
}

type ModelTag

type ModelTag struct {
	Id            uint32 `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix"`
	UpdatedAtUnix int64  `json:"updated_at_unix"`
	Name          string `json:"name"`   // 标签名称
	Status        int32  `json:"status"` // 状态
	Sort          int64  `json:"sort"`
}

type ModelZone

type ModelZone struct {
	Label string `json:"label"`
	Code  string `json:"code"`
	Area  string `json:"area"`
}

type NotFoundResp

type NotFoundResp struct {
}

type NotFoundpReq

type NotFoundpReq struct {
}

type ObjectApiCreateResp added in v1.0.8

type ObjectApiCreateResp struct {
	Id            uint32 `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix"`
	UpdatedAtUnix int64  `json:"updated_at_unix"`
	ObjectId      string `json:"object_id"`
}

type ObjectApiFormIdReq added in v1.0.8

type ObjectApiFormIdReq struct {
	Id uint32 `form:"id"`
}

type ObjectApiJsonIdReq added in v1.0.8

type ObjectApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type ObjectApiJsonIdsReq added in v1.0.8

type ObjectApiJsonIdsReq struct {
	Ids []uint32 `json:"ids"`
}

type ObjectApiOKResp added in v1.0.8

type ObjectApiOKResp struct {
}

type ObjectApiQueryWhreObjectIdReq added in v1.0.8

type ObjectApiQueryWhreObjectIdReq struct {
	ObjectId string `form:"object_id"`
}

type ObjectCommonQueryListResp added in v1.0.8

type ObjectCommonQueryListResp struct {
	List     []ModelObject `json:"list"`
	Total    int64         `json:"total"`
	Page     int32         `json:"page"`
	PageSize int32         `json:"page_size"`
}

type ObjectCommonSearchParams added in v1.0.8

type ObjectCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int32  `json:"status,optional"`
}

type PublicGetIpReq added in v1.0.5

type PublicGetIpReq struct {
}

type PublicGetIpResp added in v1.0.5

type PublicGetIpResp struct {
	Ip string `json:"ip"` // note: 返回自身ip
}

type SasPresignerGetObjectReq

type SasPresignerGetObjectReq struct {
	BucketKey string `json:"bucket_key,optional"`
	Path      string `json:"path"`
}

type SasPresignerGetObjectResp

type SasPresignerGetObjectResp struct {
	Url    string `json:"url"`
	Method string `json:"method"`
}

type SasPresignerHeadObjectReq

type SasPresignerHeadObjectReq struct {
	BucketKey string `json:"bucket_key,optional"`
	Path      string `json:"path"`
}

type SasPresignerHeadObjectResp

type SasPresignerHeadObjectResp struct {
	Url    string `json:"url"`
	Method string `json:"method"`
}

type SasPresignerUploadReq

type SasPresignerUploadReq struct {
	BucketKey string `json:"bucket_key,optional"`
	Path      string `json:"path"`
}

type SasPresignerUploadResp

type SasPresignerUploadResp struct {
	Url    string            `json:"url"`
	Fields map[string]string `json:"fields"`
}

type SasQueryBucketReq

type SasQueryBucketReq struct {
	BucketKey string `json:"bucket_key,optional"`
}

type SasQueryBucketResp

type SasQueryBucketResp struct {
	Name                   string `json:"name"`
	Prefix                 string `json:"prefix"`
	Region                 string `json:"region"`
	BucketInternetDomain   string `json:"bucket_internet_domain"`
	BucketInternalDomain   string `json:"bucket_internal_domain"`
	IsAccelerate           int32  `json:"is_accelerate"`
	BucketAccelerateDomain string `json:"bucket_accelerate_domain"`
	StaticDomain           string `json:"static_domain"`
	CdnDomain              string `json:"cdn_domain"`
}

type ShortLinkApiCreateResp

type ShortLinkApiCreateResp struct {
	Id      uint32 `json:"id"`
	ShortId string `json:"short_id"`
}

type ShortLinkApiFormIdReq

type ShortLinkApiFormIdReq struct {
	Id uint32 `form:"id"`
}

type ShortLinkApiFormKeyReq

type ShortLinkApiFormKeyReq struct {
	Key string `form:"key"`
}

type ShortLinkApiJsonIdReq

type ShortLinkApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type ShortLinkApiJsonIdsReq

type ShortLinkApiJsonIdsReq struct {
	Ids []uint32 `json:"ids"`
}

type ShortLinkApiOKResp

type ShortLinkApiOKResp struct {
}

type ShortLinkCommonQueryListResp

type ShortLinkCommonQueryListResp struct {
	List     []ModelShortLink `json:"list"`
	Total    int64            `json:"total"`
	Page     int32            `json:"page"`
	PageSize int32            `json:"page_size"`
}

type ShortLinkCommonSearchParams

type ShortLinkCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int32  `json:"status,optional"`
}

type SmsInitReq

type SmsInitReq struct {
	Key     string `json:"key,optional"`
	Service string `json:"service"`
	Type    string `json:"type"`
	Zone    string `json:"zone"`
	Phone   string `json:"phone"`
}

type SmsInitResp

type SmsInitResp struct {
	Status string `json:"status"`
}

type SmsVerifyReq

type SmsVerifyReq struct {
	Service    string `json:"service"`
	Type       string `json:"type"`
	Zone       string `json:"zone"`
	Phone      string `json:"phone"`
	VerifyCode string `json:"verify_code"`
}

type SmsVerifyResp

type SmsVerifyResp struct {
	Result bool `json:"result"`
}

type TagApiCreateResp

type TagApiCreateResp struct {
	Id uint32 `json:"id"`
}

type TagApiFormIdReq

type TagApiFormIdReq struct {
	Id uint32 `form:"id"`
}

type TagApiJsonIdReq

type TagApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type TagApiJsonIdsReq

type TagApiJsonIdsReq struct {
	Ids []uint32 `json:"ids"`
}

type TagApiOKResp

type TagApiOKResp struct {
}

type TagCommonQueryListResp

type TagCommonQueryListResp struct {
	List     []ModelTag `json:"list"`
	Total    int64      `json:"total"`
	Page     int32      `json:"page"`
	PageSize int32      `json:"page_size"`
}

type TagCommonSearchParams

type TagCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int32  `json:"status,optional"`
	PrefixKeyword  string `json:"prefix_keyword,optional"`
}

type TpasWechatJobWebhookReq

type TpasWechatJobWebhookReq struct {
	UniqueId  string `path:"unique_id"`
	Timestamp int64  `json:"timestamp"`
	Nonce     string `json:"nonce"` // 随机字符串
	Params    string `json:"params"`
}

type TpasWechatJobWebhookResp

type TpasWechatJobWebhookResp struct {
}

type UpsBaseBootstrapReq

type UpsBaseBootstrapReq struct {
}

type UpsBaseBootstrapResp

type UpsBaseBootstrapResp struct {
}

type ViewNotFoundReq

type ViewNotFoundReq struct {
}

type ViewNotFoundResp

type ViewNotFoundResp struct {
}

type ViewShortLinkReq

type ViewShortLinkReq struct {
	DomainId string `path:"domain_id"`
	ShortId  string `path:"short_id"`
}

type ViewShortLinkResp

type ViewShortLinkResp struct {
}

type WechatForceRefreshOffiaccountAccessTokenReq added in v1.0.5

type WechatForceRefreshOffiaccountAccessTokenReq struct {
	Key string `json:"key"`
}

type WechatForceRefreshOffiaccountAccessTokenResp added in v1.0.5

type WechatForceRefreshOffiaccountAccessTokenResp struct {
}

type WechatOffiaccountCode2TokenReq added in v1.0.6

type WechatOffiaccountCode2TokenReq struct {
	Key  string `json:"key,optional"`
	Code string `json:"code"`
}

type WechatOffiaccountCode2TokenResp added in v1.0.6

type WechatOffiaccountCode2TokenResp struct {
	AccessToken    string `json:"access_token"`
	ExpiresIn      int64  `json:"expires_in"`
	RefreshToken   string `json:"refresh_token"`
	Openid         string `json:"openid"`
	Scope          string `json:"scope"`
	IsSnapshotuser int32  `json:"is_snapshotuser"`
	Unionid        string `json:"unionid"`
	Errcode        int32  `json:"errcode,omitempty"`
	Errmsg         string `json:"errmsg,omitempty"`
}

type WechatOffiaccountGenRedirectUrlReq added in v1.0.5

type WechatOffiaccountGenRedirectUrlReq struct {
	Key         string `json:"key,optional"`
	Scope       string `json:"scope,options=snsapi_base|snsapi_userinfo"`
	RedirectUri string `json:"redirect_uri"`
	State       string `json:"state"`
}

type WechatOffiaccountGenRedirectUrlResp added in v1.0.5

type WechatOffiaccountGenRedirectUrlResp struct {
	Scope string `json:"scope"`
	Url   string `json:"url"`
	State string `json:"state"`
}

type WechatOffiaccountGenShareConfigReq added in v1.0.5

type WechatOffiaccountGenShareConfigReq struct {
	Key       string   `json:"key,optional"`
	Debug     bool     `json:"debug"`
	ShareLink string   `json:"share_link"`
	JsApiList []string `json:"js_api_list"`
}

type WechatOffiaccountGenShareConfigResp added in v1.0.5

type WechatOffiaccountGenShareConfigResp struct {
	Debug     bool     `json:"debug"`
	AppId     string   `json:"app_id"`
	Timestamp int64    `json:"timestamp"`
	NonceStr  string   `json:"nonce_str"`
	Signature string   `json:"signature"`
	JsApiList []string `json:"js_api_list"`
}

type WechatOffiaccountGetAccessTokenReq added in v1.0.5

type WechatOffiaccountGetAccessTokenReq struct {
	Key string `json:"key,optional"`
}

type WechatOffiaccountGetAccessTokenResp added in v1.0.5

type WechatOffiaccountGetAccessTokenResp struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int64  `json:"expires_in"`
}

type WechatOffiaccountGetJsApiTicketReq added in v1.0.5

type WechatOffiaccountGetJsApiTicketReq struct {
	Key string `json:"key,optional"`
}

type WechatOffiaccountGetJsApiTicketResp added in v1.0.5

type WechatOffiaccountGetJsApiTicketResp struct {
	Ticket    string `json:"ticket"`
	ExpiresIn int64  `json:"expires_in"`
}

type ZonesReq

type ZonesReq struct {
	Lang string `form:"lang,optional" url:"lang"`
}

type ZonesResp

type ZonesResp struct {
	List     []ModelZone `json:"list"`
	Total    int64       `json:"total"`
	Page     int32       `json:"page"`
	PageSize int32       `json:"page_size"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL