Explorar el Código

:bug: 引用保护变量未加this

visuddhinanda hace 3 años
padre
commit
540cc1415c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Console/Commands/WebHook.php

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

@@ -47,7 +47,7 @@ class WebHook extends Command
 				break;
 				break;
 			case 'dingtalk':
 			case 'dingtalk':
 				# code...
 				# code...
-				$url = $url[$this->argument('url')];
+				$url = $this->url[$this->argument('url')];
 				$param = [
 				$param = [
 				"markdown"=> [
 				"markdown"=> [
 					"title"=> $this->argument('title'), 
 					"title"=> $this->argument('title'),