Skip to content

Commit

Permalink
feat: 消息模板初始化sql TencentBlueKing#5150 添加企业微信host占位符
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzcao committed Sep 15, 2021
1 parent 38f392b commit fbd8698
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bkenv.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ BK_REPO_HOST=
BK_SSM_HOST=
# BK_SSM_PORT无默认值. 无需修改. 声明依赖, 蓝鲸环境下会自动填充. 其他环境无需填写.
BK_SSM_PORT=
# BK_CI_WEWORK_HOST 默认值为:https://qyapi.weixin.qq.com, 企业微信服务端host,用于调用企业微信api接口
BK_CI_WEWORK_HOST=https://qyapi.weixin.qq.com

##########
# 1-基础配置
Expand Down
11 changes: 11 additions & 0 deletions support-files/templates/#etc#ci#application-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ spring:
# 服务器端口配置,在同一台机器上部署多个微服务,端口号要不同 21911
server:
port: __BK_CI_NOTIFY_API_PORT__

wework:
corpId:
corpSecret:
agentId:
tempDirectory: # 保存待上传 wework 文件临时存储路径
apiUrl: __BK_CI_WEWORK_HOST__ # 企业微信服务端host,用于调用企业微信api接口
safe: # 表示是否是保密消息,0表示可对外分享,1表示不能分享且内容显示水印,默认为0
enableDuplicateCheck: # 表示是否开启重复消息检查,0表示否,1表示是,默认0
duplicateCheckInterval: # 表示是否重复消息检查的时间间隔,默认1800s,最大不超过4小时
enableIdTrans: # 表示是否开启id转译,0表示否,1表示是,默认0。仅第三方应用需要用到,企业自建应用可以忽略。

0 comments on commit fbd8698

Please sign in to comment.