Update We.php

This commit is contained in:
Anyon 2019-01-14 14:04:41 +08:00
parent def818b7df
commit 5938b344f4

4
We.php
View File

@ -74,7 +74,7 @@ class We
* 定义当前版本
* @var string
*/
const VERSION = '1.2.5';
const VERSION = '1.2.9';
/**
* 静态配置
@ -111,8 +111,6 @@ class We
$class = 'WeChat\\' . substr($name, 6);
} elseif (substr($name, 0, 6) === 'WeMini') {
$class = 'WeMini\\' . substr($name, 6);
} elseif (substr($name, 0, 5) === 'WePay') {
$class = 'WePay\\' . substr($name, 5);
} elseif (substr($name, 0, 6) === 'AliPay') {
$class = 'AliPay\\' . substr($name, 6);
}