|
|
@@ -168,4 +168,12 @@ class SiteController extends BaseController
|
|
|
];
|
|
|
return static::notice(['data' => $data['bug监控正常运行,没有发现异常.']]);
|
|
|
}
|
|
|
+
|
|
|
+ public function actionSendNotify()
|
|
|
+ {
|
|
|
+ $message = Yii::$app->request->get('message', '收到信息了');
|
|
|
+ $data = ['message' => $message];
|
|
|
+
|
|
|
+ return static::notice($data);
|
|
|
+ }
|
|
|
}
|