Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
toplan committed Jun 23, 2017
1 parent e05aa19 commit de39e7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ SmsManager::storeRule('mobile', [
]);
```

> 存储的动态验证规则可通过访问`host/laravel-sms/info`查看。动态验证规则的名称最好不要和静态验证规则同名,因为静态验证规则的优先级更高。
> 存储的动态验证规则可通过访问`http[s]://your-domain/laravel-sms/info`查看。
> 动态验证规则的名称最好不要和静态验证规则同名,因为静态验证规则的优先级更高。
#### retrieveRule($field[, $name])

Expand Down Expand Up @@ -504,7 +505,7 @@ SmsManager::forgetRules('mobile');

#### input([$key][, $default])

获取客户端传递来的数据。客户端数据会自动注入到配置文件(`laravel-sms.php`)中闭包函数的第三个参数中
获取客户端传递来的数据。客户端数据会自动注入到配置文件(`laravel-sms.php`)中闭包函数的`$input`参数中
```php
$mobileRuleName = SmsManager::input('mobile_rule');
$all = SmsManager::input();
Expand Down

0 comments on commit de39e7a

Please sign in to comment.