This commit is contained in:
邹宗楠
2022-06-22 10:56:36 +08:00
parent 1f34ad5d62
commit fb7fb3e8a6
4 changed files with 47 additions and 12 deletions

View File

@@ -173,3 +173,9 @@ func CheckBoosGroupChat(store *dao.StoreDetail2) ([]string, error) {
}
return enterpriseList, nil
}
// 获取企业微信token
func GetEnterpriseTokenInfo() string {
api.EnterpriseChatHeadApi.CheckAccessTokenExpiresIn()
return api.EnterpriseChatHeadApi.ReturnToken()
}