CLASS_SSO::sso_forgot PHP Method

sso_forgot() public method

public sso_forgot ( $str_user, $str_userBy = "user_id" )
    function sso_forgot($str_user, $str_userBy = "user_id")
    {
        $_arr_sso = array("act_post" => "forgot", $str_userBy => $str_user);
        $_arr_ssoData = array_merge($this->arr_data, $_arr_sso);
        $_arr_ssoData["signature"] = $this->sso_signature($_arr_ssoData);
        $_arr_get = fn_http(BG_SSO_URL . "?mod=user", $_arr_ssoData, "post");
        //提交
        $_arr_result = $this->result_process($_arr_get);
        if ($_arr_result["alert"] != "y010408") {
            return $_arr_result;
            //返回错误信息
        }
        $_arr_decode = $this->sso_decode($_arr_result["code"]);
        //解码
        $_arr_decode["alert"] = $_arr_result["alert"];
        return $_arr_decode;
    }