weizong song 5 years ago
parent 052144c8e2
commit 65ede9e27a

@ -20,6 +20,8 @@ class WxMicroPay extends WxPayCommon
throw new Exception("缺少必填参数total_fee" . "<br>");
} elseif (!$this->parameters["auth_code"]) {
throw new Exception("缺少必填参数auth_code" . "<br>");
} elseif (!strlen($this->parameters["auth_code"]) != 18) {
throw new Exception("支付码不正确!" . "<br>");
}
}

Loading…
Cancel
Save