Skip to content

Commit

Permalink
Register yunpian to sms.
Browse files Browse the repository at this point in the history
  • Loading branch information
bill li authored and bill li committed Jan 23, 2018
1 parent 8d3effb commit d942e9f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/Handlers/Yunpian.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
use AnomalyLab\LuminousSMS\Contracts\MessagerInterface;
use AnomalyLab\LuminousSMS\Support\Configure;

/**
* Class Yunpian
*
* @link https://anomaly.ink
* @author Anomaly lab, Inc <[email protected]>
* @author Bill Li <[email protected]>
* @package AnomalyLab\LuminousSMS\Handlers\Qclod
*/
class Yunpian extends Handler
{
protected const REQUEST_TEMPLATE = 'https://%s.yunpian.com/%s/%s/%s.%s';
Expand Down
4 changes: 3 additions & 1 deletion src/LuminousSms.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,7 +32,8 @@ class LuminousSMS
* @var array
*/
protected $handlers = [
'qclod' => Qclod::class
'qclod' => Qclod::class,
'yunpian' => Yunpian::class
];

/**
Expand Down

0 comments on commit d942e9f

Please sign in to comment.