shish 2 years ago
parent
commit
6288332d11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-hd/controllers/NoticeController.php

+ 1 - 1
app-hd/controllers/NoticeController.php

@@ -32,7 +32,7 @@ class NoticeController extends PublicController
             util::end();
         }
         noticeUtil::push($postStr, '15280215347');
-        $postData = json_decode($postStr);
+        $postData = json_decode($postStr, true);
         $out_trade_no = $postData['out_trade_no'] ?? '';
         noticeUtil::push($out_trade_no, '15280215347');
         exit();