xy-shanghai-20260721-171915/xy-shanghai/api_key.go

9 lines
356 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package xyshanghai
// APIKey 用于管理活动 code 和对应的密钥信息。
// 根据文档actCode 可约定为各供应商的项目编号和密钥的拼接加密字符串。
// 此结构体用于存储解密后的信息,实际使用时可根据需要扩展。
type APIKey struct {
ProjectID string // 项目编号
SecretKey string // 密钥
}