mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-06 07:37:40 +00:00
修复邮箱验证 增加验证检测 使用默认的企业邮箱...
This commit is contained in:
@ -33,7 +33,11 @@ class mail_status extends AmysqlController {
|
||||
* 显示邮箱验证状态
|
||||
*/
|
||||
function stat() {
|
||||
JsonSuccess ( $this->_model ( 'mail_model' )->status ( @$_SESSION ['username'] ) );
|
||||
if ($this->_model ( 'mail_model' )->status ( @$_SESSION ['username'] )) {
|
||||
JsonSuccess ( '邮箱已验证!' );
|
||||
} else {
|
||||
JsonError ( "邮箱未验证!" );
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user