visuddhinanda 2 anni fa
parent
commit
6cabd20c27
1 ha cambiato i file con 4 aggiunte e 5 eliminazioni
  1. 4 5
      app/Console/Commands/WebHook.php

+ 4 - 5
app/Console/Commands/WebHook.php

@@ -44,19 +44,18 @@ class WebHook extends Command
     {
 		switch ($this->argument('listener')) {
 			case 'weixin':
-				# code...
 				break;
 			case 'dingtalk':
 				# code...
 				$url = $this->url[$this->argument('url')];
 				$param = [
 				"markdown"=> [
-					"title"=> $this->argument('title'), 
-					"text"=> $this->argument('message'), 
-				], 
+					"title"=> $this->argument('title'),
+					"text"=> $this->argument('message'),
+				],
 				"msgtype"=>"markdown"
 				];
-				break;				
+				break;
 			default:
 				# code...
 				break;