添加文件: xy-shanghai/api_key.go
This commit is contained in:
parent
9bd6b5049e
commit
9fb253b150
|
|
@ -0,0 +1,9 @@
|
|||
package xyshanghai
|
||||
|
||||
// APIKey 用于管理活动 code 和对应的密钥信息。
|
||||
// 根据文档,actCode 可约定为各供应商的项目编号和密钥的拼接加密字符串。
|
||||
// 此结构体用于存储解密后的信息,实际使用时可根据需要扩展。
|
||||
type APIKey struct {
|
||||
ProjectID string // 项目编号
|
||||
SecretKey string // 密钥
|
||||
}
|
||||
Loading…
Reference in New Issue