diff --git a/app/Libs/WxMicroPay.class.php b/app/Libs/WxMicroPay.class.php index 1261560..0a89961 100644 --- a/app/Libs/WxMicroPay.class.php +++ b/app/Libs/WxMicroPay.class.php @@ -20,7 +20,10 @@ class WxMicroPay extends WxPayCommon throw new Exception("缺少必填参数total_fee!" . "
"); } elseif (!$this->parameters["auth_code"]) { throw new Exception("缺少必填参数auth_code!" . "
"); + } else { + throw new Exception("参数校验成功"); } + } /**