Commit 882d45f0 by xmy

feat:构建成功通知

parent 61fb44a3
......@@ -43,8 +43,10 @@ function notice($msg)
}
try {
$msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!";
notice($msg);
if (!env("NOT_NOTICE")){
$msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!";
notice($msg);
}
} catch (Exception $e) {
var_dump($e->getMessage());
}
......
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