|
|
@@ -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());
|