Fix enterprise wechat message notification.

This commit is contained in:
leiyong
2020-02-24 16:32:40 +08:00
parent 1d02b02fff
commit 07a96f311b
3 changed files with 5 additions and 7 deletions
+1 -3
View File
@@ -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 = " <a href='http://www.zentao.net/book/zentaopmshelp/358.html' target='_blank'><i class='icon-help'></i></a>";
$lang->webhook->note->wechatCorpid = " <a href='https://work.weixin.qq.com/api/doc/90000/90135/90665#corpid' target='_blank'><i class='icon-help'></i></a>";
$lang->webhook->note->wechatCorpSecret = " <a href='https://work.weixin.qq.com/api/doc/90000/90135/90665#secret' target='_blank'><i class='icon-help'></i></a>";
$lang->webhook->note->wechat = " <a href='http://www.zentao.net/book/zentaopmshelp/367.html' target='_blank'><i class='icon-help'></i></a>";
$lang->webhook->note->typeList['bearychat'] = '请在倍洽中添加一个禅道机器人,并将其webhook填写到此处。';
$lang->webhook->note->typeList['dingding'] = '请在钉钉中添加一个自定义机器人,并将其webhook填写到此处。';
+2 -2
View File
@@ -55,12 +55,12 @@
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatCorpId;?></th>
<td class='required'><?php echo html::input('wechatCorpId', '', "class='form-control'")?></td>
<td><?php echo $lang->webhook->note->wechatCorpid;?></td>
<td><?php echo $lang->webhook->note->wechat;?></td>
</tr>
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatCorpSecret;?></th>
<td class='required'><?php echo html::input('wechatCorpSecret', '', "class='form-control'")?></td>
<td><?php echo $lang->webhook->note->wechatSecret;?></td>
<td></td>
</tr>
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatAgentId;?></th>
+2 -2
View File
@@ -60,12 +60,12 @@
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatCorpId;?></th>
<td class='required'><?php echo html::input('wechatCorpId', $secret->appKey, "class='form-control'")?></td>
<td><?php echo $lang->webhook->note->wechatCorpid;?></td>
<td><?php echo $lang->webhook->note->wechat;?></td>
</tr>
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatCorpSecret;?></th>
<td class='required'><?php echo html::input('wechatCorpSecret', $secret->appSecret, "class='form-control'")?></td>
<td><?php echo $lang->webhook->note->wechatCorpSecret;?></td>
<td></td>
</tr>
<tr class="wechatTR">
<th><?php echo $lang->webhook->wechatAgentId;?></th>