diff --git a/qyweixin/app_customer.go b/qyweixin/app_customer.go new file mode 100644 index 0000000..492d148 --- /dev/null +++ b/qyweixin/app_customer.go @@ -0,0 +1,11 @@ +package qyweixin + +type AppCustomer struct { + App +} + +func NewAppCustomer(cfg *AppConfig) *AppCustomer { + return &AppCustomer{ + App: *NewApp(cfg), + } +} diff --git a/wechat/message/message.go b/wechat/message/message.go index 6097f24..b6a69e0 100644 --- a/wechat/message/message.go +++ b/wechat/message/message.go @@ -116,6 +116,11 @@ type MixMessage struct { ScanResult string `xml:"ScanResult"` } `xml:"ScanCodeInfo"` + // 企业微信客服相关 + OpenKfId string `xml:"OpenKfId"` + Token string `xml:"Token"` + + // 企业微信审核相关 ApprovalInfo struct { SpNo string `xml:"SpNo"` SpName string `xml:"SpName"`