Commit cbd711e3 by xmy

Merge branch 'ft-notice' into test

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