From e781a31c561ffd0e44a9918facb67addfd77be2c Mon Sep 17 00:00:00 2001 From: weizong song Date: Mon, 5 Apr 2021 14:05:12 +0800 Subject: [PATCH] up --- app/Libs/WxMicroPay.class.php | 3 +++ 1 file changed, 3 insertions(+) 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("参数校验成功"); } + } /**