diff --git a/application/index/controller/Order.php b/application/index/controller/Order.php index b683899469a4170ea18aec511635afddd1f413c6..fff489a97bd13974969b145d73587101646b436b 100755 --- a/application/index/controller/Order.php +++ b/application/index/controller/Order.php @@ -230,7 +230,7 @@ class Order extends Common public function QrcodePay() { $params = input(); - if(empty($params['url']) || empty($params['order_no'])) + if(empty($params['url']) || empty($params['order_no']) || empty($params['name']) || empty($params['msg'])) { $this->assign('msg', '参数有误'); return $this->fetch('public/tips_error'); diff --git a/application/index/view/default/order/qrcode_pay.html b/application/index/view/default/order/qrcode_pay.html index 9df1b86cc097ba5e242c74ac69a47326b772f8fc..9b5eeff66c0e3e3baea61f4eee9d834c7a49da23 100644 --- a/application/index/view/default/order/qrcode_pay.html +++ b/application/index/view/default/order/qrcode_pay.html @@ -23,6 +23,7 @@