Explorar o código

PayStack支付webhook调试

kevin_zhangl %!s(int64=3) %!d(string=hai) anos
pai
achega
b84702e2da
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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回调日志