shish 1 سال پیش
والد
کامیت
234595e6af
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app-ghs/controllers/TestController.php

+ 2 - 2
app-ghs/controllers/TestController.php

@@ -654,8 +654,8 @@ class TestController extends BaseController
 
         $payWay = 1;
         $orderSn = $data['out_trade_no'] ?? '';
-        $trade_amount = $data['trade_amount'] ?? 0;
-        $totalFee = $trade_amount / 100;
+        $total_amount = $data['total_amount'] ?? 0;
+        $totalFee = $total_amount / 100;
         $attach = '';
         $transactionId = $data['trade_no'] ?? 0;
         PurchaseClearClass::thirdPay($payWay, $orderSn, $totalFee, $attach, $transactionId);