新增驱动
This commit is contained in:
parent
cca29a2e9e
commit
9988eea917
|
@ -9,7 +9,7 @@
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
```shell script
|
```shell script
|
||||||
composer require Zyimm/sms
|
composer require zyimm/sms
|
||||||
```
|
```
|
||||||
|
|
||||||
## 配置
|
## 配置
|
||||||
|
@ -17,7 +17,7 @@ composer require Zyimm/sms
|
||||||
### 发布配置
|
### 发布配置
|
||||||
|
|
||||||
```shell script
|
```shell script
|
||||||
php bin/hyperf.php vendor:publish Zyimm/sms
|
php bin/hyperf.php vendor:publish zyimm/sms
|
||||||
```
|
```
|
||||||
|
|
||||||
### 发送器配置
|
### 发送器配置
|
||||||
|
|
|
@ -9,7 +9,7 @@ declare(strict_types=1);
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use GuzzleHttp\Exception\RequestException as GuzzleRequestException;
|
use GuzzleHttp\Exception\RequestException as GuzzleRequestException;
|
||||||
use Hyperf\Guzzle\ClientFactory;
|
use Hyperf\Guzzle\ClientFactory;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Zyimm\Sms\Commands\GenSmsCommand;
|
use Zyimm\Sms\Commands\GenSmsCommand;
|
||||||
use Zyimm\Sms\Contracts\SmsManagerInterface;
|
use Zyimm\Sms\Contracts\SmsManagerInterface;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Zyimm\Sms\Contracts\MobileNumberInterface;
|
use Zyimm\Sms\Contracts\MobileNumberInterface;
|
||||||
use Zyimm\Sms\Exceptions\InvalidMobileNumberException;
|
use Zyimm\Sms\Exceptions\InvalidMobileNumberException;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Hyperf\Utils\ApplicationContext;
|
use Hyperf\Utils\ApplicationContext;
|
||||||
use Zyimm\Sms\Contract\HasMobileNumber;
|
use Zyimm\Sms\Contract\HasMobileNumber;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Hyperf\AsyncQueue\Job;
|
use Hyperf\AsyncQueue\Job;
|
||||||
use Zyimm\Sms\Contracts\SmsableInterface;
|
use Zyimm\Sms\Contracts\SmsableInterface;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Hyperf\Utils\ApplicationContext;
|
use Hyperf\Utils\ApplicationContext;
|
||||||
use Zyimm\Sms\Contract\HasMailAddress;
|
use Zyimm\Sms\Contract\HasMailAddress;
|
||||||
|
|
|
@ -8,7 +8,7 @@ declare(strict_types=1);
|
||||||
* @contact eric@zhu.email
|
* @contact eric@zhu.email
|
||||||
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
* @license https://github.com/hyperf-ext/sms/blob/master/LICENSE
|
||||||
*/
|
*/
|
||||||
namespace Zyimm\Sms\;
|
namespace Zyimm\Sms;
|
||||||
|
|
||||||
use Hyperf\Contract\ConfigInterface;
|
use Hyperf\Contract\ConfigInterface;
|
||||||
use Zyimm\Sms\Contract\ShouldQueue;
|
use Zyimm\Sms\Contract\ShouldQueue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user