mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-08 06:32:27 +08:00
improve comment ,参考:https://github.com/huacnlee/autocorrect
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Package config 企业微信config配置
|
||||
// Package config 企业微信 config 配置
|
||||
package config
|
||||
|
||||
import (
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
// Config for 企业微信
|
||||
type Config struct {
|
||||
CorpID string `json:"corp_id"` // corp_id
|
||||
CorpSecret string `json:"corp_secret"` // corp_secret,如果需要获取会话存档实例,当前参数请填写聊天内容存档的Secret,可以在企业微信管理端--管理工具--聊天内容存档查看
|
||||
CorpSecret string `json:"corp_secret"` // corp_secret,如果需要获取会话存档实例,当前参数请填写聊天内容存档的 Secret,可以在企业微信管理端--管理工具--聊天内容存档查看
|
||||
AgentID string `json:"agent_id"` // agent_id
|
||||
Cache cache.Cache
|
||||
RasPrivateKey string // 消息加密私钥,可以在企业微信管理端--管理工具--消息加密公钥查看对用公钥,私钥一般由自己保存
|
||||
|
||||
Token string `json:"token"` // 微信客服回调配置,用于生成签名校验回调请求的合法性
|
||||
EncodingAESKey string `json:"encoding_aes_key"` // 微信客服回调p配置,用于解密回调消息内容对应的密文
|
||||
EncodingAESKey string `json:"encoding_aes_key"` // 微信客服回调 p 配置,用于解密回调消息内容对应的密文
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user