whitefang 1 tahun lalu
induk
melakukan
6064ca8a77
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/api/controller/PayController.php

+ 1 - 1
app/api/controller/PayController.php

@@ -95,7 +95,7 @@ class PayController extends BaseApiController
      */
     public function notifyMnp()
     {
-        Log::write(json_encode($_GET, JSON_UNESCAPED_UNICODE));
+        Log::write(json_encode($this->request->param(), JSON_UNESCAPED_UNICODE));
 
         return (new WeChatPayService(UserTerminalEnum::WECHAT_MMP))->notify();
     }