|
|
@@ -38,7 +38,7 @@ class DingTalk
|
|
|
];
|
|
|
|
|
|
// 正式环境才发送
|
|
|
- if (in_array($_SERVER['HTTP_HOST'], ['ng-frontend-api.elken.com', 'ng-backend-api.elken.com'])) {
|
|
|
+// if (in_array($_SERVER['HTTP_HOST'], ['ng-frontend-api.elken.com', 'ng-backend-api.elken.com'])) {
|
|
|
$result = self::request_by_curl(json_encode($data));
|
|
|
if ($result['errcode'] > 0) {
|
|
|
// 重新推送一次,如果失败,写错误日志
|
|
|
@@ -47,6 +47,6 @@ class DingTalk
|
|
|
LoggerTool::error([$result, $message]);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
}
|