Browse Source

hangtong callbcak file update

xiaoyu 3 years ago
parent
commit
9807ebac4e
1 changed files with 2 additions and 4 deletions
  1. 2 4
      mobile/callback/refill_hangtong.php

+ 2 - 4
mobile/callback/refill_hangtong.php

@@ -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');