1
0
mirror of https://e.coding.net/circlecloud/MinecraftAccount.git synced 2024-11-17 00:58:55 +00:00
MinecraftAccount/Application/Home/Controller/MailController.class.php
502647092 9dfe8fa4a7 更新项目 完成登陆注册部分...
Signed-off-by: 502647092 <jtb1@163.com>
2015-11-06 18:12:15 +08:00

16 lines
369 B
PHP

<?php
namespace Home\Controller;
use Think\Controller;
class MailController extends Controller {
public function Check($mail) {
$data = M ( 'mail' )->where ( array ('address' => $mail ) )->find ();
if ($data == null) {
$this->success ( "邮箱未被注册!", '', true );
} else {
$this->error ( "邮箱已被注册!", '', true );
}
}
}