shish 2 лет назад
Родитель
Сommit
70246c7c28
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 2
      app-hd/controllers/PurchaseController.php
  2. 1 1
      common/components/lakala/Lakala.php

+ 1 - 2
app-hd/controllers/PurchaseController.php

@@ -757,8 +757,7 @@ class PurchaseController extends BaseController
             'couponId' => $couponId,
         ];
         $response = $laResource->cashierPay($wxParams);
-        print_r($response);
-        if (isset($response['code']) == false || $response['code'] != 'BBS00000') {
+        if (isset($response['code']) == false || $response['code'] != '000000') {
             $errMsg = $response['msg'] ?? '';
             noticeUtil::push($errMsg, '15280215347');
             util::fail('支付失败');

+ 1 - 1
common/components/lakala/Lakala.php

@@ -51,7 +51,7 @@ class Lakala
             'order_info' => $subject,
             'notify_url' => $notifyUrl,
             'order_efficient_time' => $orderEfficientTime,
-            'remark' => '{"capitalType":' . $capitalType . '}',
+            'busi_type_param' => '{"pay_mode":"ALIPAY"}',
         ];
         $baseRequestVO = [
             'req_data' => $arr,