mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
Update We.php
This commit is contained in:
parent
def818b7df
commit
5938b344f4
4
We.php
4
We.php
@ -74,7 +74,7 @@ class We
|
|||||||
* 定义当前版本
|
* 定义当前版本
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const VERSION = '1.2.5';
|
const VERSION = '1.2.9';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 静态配置
|
* 静态配置
|
||||||
@ -111,8 +111,6 @@ class We
|
|||||||
$class = 'WeChat\\' . substr($name, 6);
|
$class = 'WeChat\\' . substr($name, 6);
|
||||||
} elseif (substr($name, 0, 6) === 'WeMini') {
|
} elseif (substr($name, 0, 6) === 'WeMini') {
|
||||||
$class = 'WeMini\\' . substr($name, 6);
|
$class = 'WeMini\\' . substr($name, 6);
|
||||||
} elseif (substr($name, 0, 5) === 'WePay') {
|
|
||||||
$class = 'WePay\\' . substr($name, 5);
|
|
||||||
} elseif (substr($name, 0, 6) === 'AliPay') {
|
} elseif (substr($name, 0, 6) === 'AliPay') {
|
||||||
$class = 'AliPay\\' . substr($name, 6);
|
$class = 'AliPay\\' . substr($name, 6);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user