|
@@ -28,6 +28,8 @@ class Notify extends Base
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
$param = $request->post();
|
|
$param = $request->post();
|
|
|
|
|
+ echo getDateFull()."==webhook==\n";
|
|
|
|
|
+ print_r($param);
|
|
|
if (empty($param['event'])) return error("参数错误");
|
|
if (empty($param['event'])) return error("参数错误");
|
|
|
if (empty($param['content'])) return error("参数错误");
|
|
if (empty($param['content'])) return error("参数错误");
|
|
|
switch ($param['event']) {
|
|
switch ($param['event']) {
|