shish hace 10 meses
padre
commit
41dabed0bd
Se han modificado 1 ficheros con 2 adiciones y 9 borrados
  1. 2 9
      app-hd/controllers/OrderController.php

+ 2 - 9
app-hd/controllers/OrderController.php

@@ -1067,15 +1067,8 @@ class OrderController extends BaseController
             //直接将支付宝的html返回给前端
             echo $result;
         } elseif ($payWay == 2) {
-            //余额支付,验证支付密码是否正确
-            $payPassword = isset($post['payPassword']) ? $post['payPassword'] : 0;
-            $user = UserService::getUserInfo($this->adminId);
-            UserService::validPayPassword($payPassword, $user);
-            $capitalType = dict::getDict('capitalType', 'xhOrder', 'id');
-            $callbackParams = [];
-            $respond = xhPayToolService::balancePay($callbackParams, $orderSn, $actPrice, $capitalType, $couponId);
-            $balance = isset($respond['balance']) ? $respond['balance'] : 0;
-            util::success(['discountAmount' => $discountData['discountAmount'], 'discountType' => $discountData['discountType'], 'orderSn' => $orderSn, 'orderId' => $orderId, 'balance' => $balance]);
+            //余额支付
+            util::fail('暂不支持');
         } else {
             util::fail('无效的支付方式');
         }