登录注册体系的源码级硬切换
This commit is contained in:
1 parent
73fcd4ed72
commit
af52f9e94d
72 files changed
+1666
-6576
No files matched your search
@@ -174,14 +174,6 @@ class SMS {
|
||||
return ['success' => true, 'message' => __('验证成功', 'aksrt')];
|
||||
}
|
||||
|
||||
/**
|
||||
* 兼容旧接口:verify_code 返回 bool
|
||||
*/
|
||||
public function verify_code_bool(string $phone, string $code): bool {
|
||||
$result = $this->verify_code($phone, $code);
|
||||
return !empty($result['success']);
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成验证码
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user