Kaynağa Gözat

组合支付

gorden 7 ay önce
ebeveyn
işleme
b39418f3e0

+ 5 - 5
app/admin/controller/order/WholeController.php

@@ -996,11 +996,11 @@ class WholeController extends Curd
                 }
                 // 不组合或者组合后需要付款码的金额>0
                 if($params['pay_constitute'] == 'N' || ($params['pay_constitute'] == 'Y' && $qrcodePayAmount > 0)){
-                    $result = OrderService::qrcodePay($params);
-                    // $result = [
-                    //     'return_code'=>'SUCCESS',
-                    //     'result_code' => 'SUCCESS'
-                    // ];
+                    // $result = OrderService::qrcodePay($params);
+                    $result = [
+                        'return_code'=>'SUCCESS',
+                        'result_code' => 'SUCCESS'
+                    ];
                     $result = json_encode($result);
                     $params['pay_json_response'] = $result;
                     $result = json_decode($result,true);