Quellcode durchsuchen

PayStack支付webhook调试

kevin_zhangl vor 3 Jahren
Ursprung
Commit
b84702e2da
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      frontendApi/modules/v1/controllers/ShopController.php

+ 2 - 0
frontendApi/modules/v1/controllers/ShopController.php

@@ -178,7 +178,9 @@ class ShopController extends BaseController {
      * @throws \yii\web\HttpException
      */
     public function actionVerifyApproachOrder() {
+        LoggerTool::notice(\Yii::$app->request->isPost);
         if (\Yii::$app->request->isPost) {
+            LoggerTool::notice(\Yii::$app->request->post());
             $request = json_decode(\Yii::$app->request->post(), true);
             LoggerTool::notice($request);
             // TODO:支付webhook回调日志