添加文件: xy-shanghai/api_key.go

This commit is contained in:
renzhiyuan 2026-07-21 17:23:49 +08:00
parent 9bd6b5049e
commit 9fb253b150
1 changed files with 9 additions and 0 deletions

9
xy-shanghai/api_key.go Normal file
View File

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