|
@@ -2,9 +2,7 @@
|
|
|
|
|
|
$content = $_SERVER['post_content'];
|
|
|
|
|
|
-$inputs = json_decode($content,true) ?? [];
|
|
|
-foreach ($inputs as $input) {
|
|
|
- refill\util::push_notify('hangtong',$input);
|
|
|
-}
|
|
|
+$input = json_decode($content,true);
|
|
|
+refill\util::push_notify('hangtong',$input);
|
|
|
|
|
|
echo ('SUCCESS');
|