|
|
@@ -206,8 +206,10 @@ class Movie extends BaseController
|
|
206
|
206
|
*/
|
|
207
|
207
|
public function confirmOrder()
|
|
208
|
208
|
{
|
|
209
|
|
- $order_sn = $this->request->param(['order_sn']);
|
|
|
209
|
+ $order_sn = $this->request->param('order_sn', '');
|
|
210
|
210
|
if (empty($order_sn)) return app('json')->fail('订单不存在');
|
|
|
211
|
+ $pay_type = $this->request->param('pay_type', '');
|
|
|
212
|
+ if (empty($pay_type)) return app('json')->fail('请选择支付方式');
|
|
211
|
213
|
|
|
212
|
214
|
return app('json')->success($this->repository->confirmOrder($this->request->userInfo(), $order_sn));
|
|
213
|
215
|
}
|