Commit 38f27acb by xmy

feat:构建成功通知

parent 882d45f0
...@@ -43,7 +43,8 @@ function notice($msg) ...@@ -43,7 +43,8 @@ function notice($msg)
} }
try { try {
if (!env("NOT_NOTICE")){ var_dump(posix_getpid());
if (!env("NOT_NOTICE") && posix_getpid()==16) {
$msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!"; $msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!";
notice($msg); notice($msg);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment