weizong song 5 years ago
parent ef5a316399
commit d61993232c

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

Loading…
Cancel
Save