소스 검색

add title to dingtalk

visuddhinanda 2 년 전
부모
커밋
dbe9af7147
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Console/Commands/MqDiscussion.php

+ 1 - 1
app/Console/Commands/MqDiscussion.php

@@ -82,7 +82,7 @@ class MqDiscussion extends Command
 
 
                         switch ($hook->receiver) {
                         switch ($hook->receiver) {
                             case 'dingtalk':
                             case 'dingtalk':
-                                $ok = $whSend->dingtalk($hook->url,null,$msgContent);
+                                $ok = $whSend->dingtalk($hook->url,"title",$msgContent);
                                 break;
                                 break;
                             case 'wechat':
                             case 'wechat':
                                 $ok = $whSend->wechat($hook->url,null,$msgContent);
                                 $ok = $whSend->wechat($hook->url,null,$msgContent);