function api_chkmail()
{
$this->app_check("get");
$_arr_userMail = $this->mdl_user->input_chk_mail();
if (BG_REG_ONEMAIL == "false" || BG_LOGIN_MAIL == "on") {
//不允许重复
if ($_arr_userMail["alert"] != "ok") {
$this->obj_api->halt_re($_arr_userMail);
}
if ($_arr_userMail["user_mail"]) {
$_arr_userRow = $this->mdl_user->mdl_read_api($_arr_userMail["user_mail"], "user_mail", $_arr_userMail["not_id"]);
if ($_arr_userRow["alert"] == "y010102") {
$_str_alert = "x010211";
} else {
$_str_alert = "y010211";
}
} else {
$_str_alert = "y010211";
}
} else {
$_str_alert = "y010211";
}
$_arr_sign = array("act_get" => $GLOBALS["act_get"], "user_mail" => $_arr_userMail["user_mail"], "not_id" => $_arr_userMail["not_id"]);
if (!$this->obj_sign->sign_check(array_merge($this->appRequest, $_arr_sign), $this->appRequest["signature"])) {
$_str_alert = "x050403";
}
$_arr_return = array("alert" => $_str_alert);
$this->obj_api->halt_re($_arr_return);
}