|
@@ -78,13 +78,16 @@ class StoreOrder extends BaseController
|
|
|
$extend = (array)$this->request->param('extend', []);
|
|
|
$mark = (array)$this->request->param('mark', []);
|
|
|
$payType = $this->request->param('pay_type');
|
|
|
+ $payment_type = $this->request->param('payment_type',1); //1.正常购买 2.百分比支付
|
|
|
$post = (array)$this->request->param('post');
|
|
|
|
|
|
$isPc = $payType === 'pc';
|
|
|
if ($isPc) {
|
|
|
$payType = 'balance';
|
|
|
}
|
|
|
-
|
|
|
+ if($payment_type == 2){
|
|
|
+ return app('json')->fail('参数错误');
|
|
|
+ }
|
|
|
if (!in_array($payType, StoreOrderRepository::PAY_TYPE, true))
|
|
|
return app('json')->fail('请选择正确的支付方式');
|
|
|
|