Skip to content

Commit

Permalink
Merge pull request #8313 from yongyiduan/issue_7971
Browse files Browse the repository at this point in the history
feat:人工审核/stage准入支持发送企业微信群消息 #7971
  • Loading branch information
irwinsun authored Feb 3, 2023
2 parents 627a90d + b22f4ed commit 141c801
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ class WechatWorkService @Autowired constructor(
// .readTimeout(60L, TimeUnit.SECONDS)
// .writeTimeout(60L, TimeUnit.SECONDS)
// .build()
private val wxcpt =
WXBizMsgCrypt(wechatWorkConfiguration.token, wechatWorkConfiguration.aesKey, wechatWorkConfiguration.serviceId)

private val wxcpt by lazy {
WXBizMsgCrypt(
wechatWorkConfiguration.token,
wechatWorkConfiguration.aesKey,
wechatWorkConfiguration.serviceId
)
}
private val objectMapper = JacksonUtil.createObjectMapper()
private val sendMessageApiURL = "$wechatWorkApiURL/cgi-bin/tencent/chat/send"
private val uploadMediaApiURL = "$wechatWorkApiURL/cgi-bin/media/upload"
Expand Down

0 comments on commit 141c801

Please sign in to comment.