34 lines
1.2 KiB
Go
34 lines
1.2 KiB
Go
package t3_union
|
|
|
|
// 相关地址
|
|
const (
|
|
SiteDomain = "https://union.t3go.cn" // Domain 后台域名
|
|
SiteUrl = "https://union.t3go.cn/#/dashboard" // SiteUrl 后台地址
|
|
DocUrl = "https://union.t3go.cn/#/account/api" // DocUrl 文档地址
|
|
ApiDocUrl = "https://union.t3go.cn/#/account/api" // ApiDocUrl api文档地址
|
|
)
|
|
|
|
// header头信息
|
|
const (
|
|
XT3Nonce = "x-t3-nonce"
|
|
XT3Timestamp = "x-t3-timestamp"
|
|
XT3Version = "x-t3-version"
|
|
XT3Key = "x-t3-key"
|
|
XT3SignatureMethod = "x-t3-signature-method"
|
|
XT3Signature = "x-t3-signature"
|
|
XT3SignatureHeaders = "x-t3-signature-headers"
|
|
)
|
|
|
|
// 接口地址
|
|
const (
|
|
ApiDomain = "https://exchange.t3go.cn" // Domain api域名
|
|
GetLinkUri = "/openapi/marketing/union/v1/generate/link"
|
|
GetMiniCodeUri = "/openapi/marketing/union/v1/generate/code"
|
|
GetPosterUri = "/openapi/marketing/union/v1/generate/poster"
|
|
GetOrderListUri = "/openapi/marketing/union/v1/order/list"
|
|
GetLinkUrl = ApiDomain + GetLinkUri
|
|
GetMiniCodeUrl = ApiDomain + GetMiniCodeUri
|
|
GetPosterUrl = ApiDomain + GetPosterUri
|
|
GetOrderListUrl = ApiDomain + GetOrderListUri
|
|
)
|