-
按照首页教程,一步一步来,当进行到:
php artisan vendor:publish
出现以下错误:
[Toplan\PhpSms\PhpSmsException]
Please set at least one enable agent in config file(config/phpsms.php) or use method enable()
kenfu updated
8 years ago
-
How about delete all information about install package on laravel version 4 from readme in version 2? Juste create link to 1.\* relise https://github.com/SimpleSoftwareIO/simple-sms/tree/1.1.0
-
It would be nice if there was an easy way to write drivers for additional services and have them loaded in.
At the moment the drivers are hard coded and there's no way to specify a different driver.
-
$vars['passed'] = false;
if ($rule == 'check_mobile_unique') {
$vars['msg'] = '该手机号码已存在';
} elseif ($rule == 'check_mobile_exists') {
…
-
It seems quite a few Laravel modules do not yet support Guzzle 6.0 (e.g. Laravel Socialite) and I get conflicts when I try to run "composer update". Does this module absolutely require Guzzle 6? Or am…
-
dev的话感觉不是太好,添加个版本便于包管理。谢谢了。
-
SUBMAIL 成功的时候没有返回 msg,导致发送信息后提示错误。
Undefined index: msg(30行)
/Path/To/WWW/vendor/toplan/laravel-sms/src/Toplan/LaravelSms/agents/SubMailAgent.php
以下是SUBMAIL官方提供的返回内容。
http://submail.cn/chs/document…
-
On Laravel 5.1
Guzzlehttp 6 is the latest and stripe-laravel's dependency on 5 is stopping other packages being installed.
> php artisan clear-compiled
> Loading composer repositories with package i…
-
https://github.com/toplan/laravel-sms/blob/master/src/Toplan/LaravelSms/SmsContorller.php#L94
这个函数应该需要支持验证码等短信发送间隔控制。比如现在规定验证码短信发送间隔为1分钟。目前这个库里面看起来只用了前端js 来控制,容易出问题。
-
在发送验证码之前保存 sms 记录的时候 result_info 没有默认值,对于一些 MySQL 实例不能成功添加记录,建议在 save() 之前给 result_info 赋默认值(可以是空值)
```
[2015-08-13 16:41:26] local.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000]: Gene…