Skip to content

Commit

Permalink
feat:人工审核/stage准入支持发送企业微信群消息 TencentBlueKing#7971
Browse files Browse the repository at this point in the history
  • Loading branch information
yongyiduan committed Feb 3, 2023
1 parent b545229 commit b22f4ed
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 b22f4ed

Please sign in to comment.