From 3846f79b6d224bceb65d4ab331e0bdecdfa2702c Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 14 Jan 2019 14:05:41 +0800 Subject: [PATCH] Update We.php --- We.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/We.php b/We.php index 22d8370..919e35f 100644 --- a/We.php +++ b/We.php @@ -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);