123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace app\validate\admin\notification;
- use think\Validate;
- class SmsConfigValidate extends Validate
- {
-
- protected $rule = [
- 'sms_account' => ['require'],
- 'sms_token' => ['require'],
- ];
-
- protected $message = [
- 'sms_account.require' => '短信账号必须填写',
- 'sms_token.require' => '短信密码必须填写',
- ];
- }
|