From 07a96f311b37021c2962812ef6cecff3c984393e Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Mon, 24 Feb 2020 16:32:40 +0800 Subject: [PATCH] Fix enterprise wechat message notification. --- module/webhook/lang/zh-cn.php | 4 +--- module/webhook/view/create.html.php | 4 ++-- module/webhook/view/edit.html.php | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/module/webhook/lang/zh-cn.php b/module/webhook/lang/zh-cn.php index 8582f22123..b2acce787c 100644 --- a/module/webhook/lang/zh-cn.php +++ b/module/webhook/lang/zh-cn.php @@ -79,9 +79,7 @@ $lang->webhook->note->bind = '只有[钉钉/微信]工作通知类型才需 $lang->webhook->note->product = "此项为空时所有{$lang->productCommon}的动作都会触发钩子,否则只有关联{$lang->productCommon}的动作才会触发。"; $lang->webhook->note->project = "此项为空时所有{$lang->projectCommon}的动作都会触发钩子,否则只有关联{$lang->projectCommon}的动作才会触发。"; $lang->webhook->note->dingKey = " "; - -$lang->webhook->note->wechatCorpid = " "; -$lang->webhook->note->wechatCorpSecret = " "; +$lang->webhook->note->wechat = " "; $lang->webhook->note->typeList['bearychat'] = '请在倍洽中添加一个禅道机器人,并将其webhook填写到此处。'; $lang->webhook->note->typeList['dingding'] = '请在钉钉中添加一个自定义机器人,并将其webhook填写到此处。'; diff --git a/module/webhook/view/create.html.php b/module/webhook/view/create.html.php index 872cce5684..84f3cd192d 100644 --- a/module/webhook/view/create.html.php +++ b/module/webhook/view/create.html.php @@ -55,12 +55,12 @@