diff --git a/src/Handlers/Yunpian.php b/src/Handlers/Yunpian.php index 01035c5..a1361e3 100644 --- a/src/Handlers/Yunpian.php +++ b/src/Handlers/Yunpian.php @@ -6,6 +6,14 @@ use AnomalyLab\LuminousSMS\Contracts\MessagerInterface; use AnomalyLab\LuminousSMS\Support\Configure; +/** + * Class Yunpian + * + * @link https://anomaly.ink + * @author Anomaly lab, Inc + * @author Bill Li + * @package AnomalyLab\LuminousSMS\Handlers\Qclod + */ class Yunpian extends Handler { protected const REQUEST_TEMPLATE = 'https://%s.yunpian.com/%s/%s/%s.%s'; diff --git a/src/LuminousSms.php b/src/LuminousSms.php index fbd902f..b1df066 100644 --- a/src/LuminousSms.php +++ b/src/LuminousSms.php @@ -7,6 +7,7 @@ use AnomalyLab\LuminousSMS\Support\Configure; use AnomalyLab\LuminousSMS\Contracts\HandlerInterface; use AnomalyLab\LuminousSMS\Handlers\Qclod; +use AnomalyLab\LuminousSMS\Handlers\Yunpian; /** * Class LuminousSMS @@ -31,7 +32,8 @@ class LuminousSMS * @var array */ protected $handlers = [ - 'qclod' => Qclod::class + 'qclod' => Qclod::class, + 'yunpian' => Yunpian::class ]; /**