Commit 38f27acb by xmy

feat:构建成功通知

parent 882d45f0
......@@ -43,7 +43,8 @@ function notice($msg)
}
try {
if (!env("NOT_NOTICE")){
var_dump(posix_getpid());
if (!env("NOT_NOTICE") && posix_getpid()==16) {
$msg = "环境:" . env("ENVIRONMENT") . " 项目名称:" . APP_NAME . "————构建成功!";
notice($msg);
}
......@@ -54,4 +55,4 @@ try {
return [
'commonPath' => $basePath . '/Common',
];
\ No newline at end of file
];
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