提交 b57b9faf 编写于 作者: O overtrue

Fixed #167

上级 2c75ea97
......@@ -261,10 +261,6 @@ class EasySms
*/
protected function formatGatewayClassName($name)
{
if (\class_exists($name)) {
return $name;
}
$name = \ucfirst(\str_replace(['-', '_', ''], '', $name));
return __NAMESPACE__."\\Gateways\\{$name}Gateway";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册