1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2025-09-06 07:37:40 +00:00

修复邮箱验证 增加验证检测 使用默认的企业邮箱...

This commit is contained in:
502647092
2015-11-05 20:22:48 +08:00
parent 5425b2b1e4
commit 5f9bc7ec12
5 changed files with 144 additions and 117 deletions

View File

@ -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 ( "邮箱未验证!" );
}
}
}
?>