|
|
|
@ -220,12 +220,14 @@ class OrderController extends Controller |
|
|
|
if ($formData['pay_type'] == PayType::OFFLINE) { //线下支付
|
|
|
|
return $this->success(['id' => $order_id], '操作成功,请及时联系客服付款'); |
|
|
|
} else { //在线支付或定金支付
|
|
|
|
$config = $this->payConfig($order, $price); |
|
|
|
/*$config = $this->payConfig($order, $price); |
|
|
|
if (!empty($config['paySign'])) { |
|
|
|
return $this->success($config); |
|
|
|
} else { |
|
|
|
return $this->error($config['err_code_des'] ?? join(',', $config)); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
// TODO 跳转支付专用
|
|
|
|
return $this->success($order); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|