Kaynağa Gözat

支付方式

shish 2 yıl önce
ebeveyn
işleme
c9dcb172d9
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      app-mall/controllers/OrderController.php

+ 2 - 1
app-mall/controllers/OrderController.php

@@ -151,7 +151,8 @@ class OrderController extends BaseController
             $orderSn = $return->orderSn ?? '';
             $orderPrice = $return->orderPrice ?? 0;
             $id = $return->id ?? 0;
-            util::success(['orderSn' => $orderSn, 'totalPrice' => $orderPrice, 'couponId' => 0, 'id' => $id]);
+            $getPayType = dict::getDict('getPayType');
+            util::success(['orderSn' => $orderSn, 'totalPrice' => $orderPrice, 'couponId' => 0, 'id' => $id, 'getPayType' => $getPayType]);
         } catch (\Exception $e) {
             $transaction->rollBack();
             Yii::error("失败原因:" . $e->getMessage());