Update We.php

This commit is contained in:
Anyon 2019-01-14 14:05:41 +08:00
parent 5938b344f4
commit 3846f79b6d

2
We.php
View File

@ -113,6 +113,8 @@ class We
$class = 'WeMini\\' . substr($name, 6);
} elseif (substr($name, 0, 6) === 'AliPay') {
$class = 'AliPay\\' . substr($name, 6);
} elseif (substr($name, 0, 5) === 'WePay') {
$class = 'WePay\\' . substr($name, 5);
}
if (!empty($class) && class_exists($class)) {
$option = array_shift($arguments);