|
@@ -57,9 +57,9 @@ class Sms extends Api
|
|
|
$this->error(__('未注册'));
|
|
|
}
|
|
|
}
|
|
|
- if (!Hook::get('sms_send')) {
|
|
|
+ /*if (!Hook::get('sms_send')) {
|
|
|
$this->error(__('请在后台插件管理安装短信验证插件'));
|
|
|
- }
|
|
|
+ }*/
|
|
|
$ret = Smslib::send($mobile, null, $event);
|
|
|
if ($ret) {
|
|
|
$this->success(__('发送成功'));
|