mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-06 07:37:40 +00:00
Merge branch 'master' of git@git.coding.net:502647092/McAccount.git
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