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

@ -14,7 +14,7 @@ class mail_model extends AmysqlModel {
return $this->_update ( 'mail', $data, "WHERE user='" . $user . "'" ) != 0;
}
public function status($user) {
$sql = "SELECT * FROM `mail` WHERE `user` = '" . $user . "'";
$sql = "SELECT * FROM `mail` WHERE `user` = '" . $user . "' and `statu` = 1";
return $this->_all ( $sql );
}
}