From 2d5f373bead1de96b413f2182710974cc2dedaef Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Tue, 23 Jan 2024 11:44:55 +0800 Subject: [PATCH] openkf --- qyweixin/app_customer.go | 11 +++++++++++ wechat/message/message.go | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 qyweixin/app_customer.go 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"`