产品使用及交流论坛

首页 » 用户交流区 » 网站技术资源区 » 单点登录,出错提示"请求的地址必须以http://或https开头"
liuhhtx - 2019/12/19 16:32:35
在帮助说明中 单点登录的制作及用户状态获取
    Layout = null;
    string userName = "";
    string userToken = Request.QueryString["userToken"];
    WebApiHelper webApiHelper = new WebApiHelper();
    Dictionary<string, string> dictionary = new Dictionary<string, string>();
    dictionary.Add("userToken", userToken);
    dictionary.Add("ip", StringHelper.GetIP());
    dictionary.Add("method", "Member.Account.GetCurrentUser");
    string result = webApiHelper.Get(dictionary);  程序运程到这行出错,
出错提示:  请求的地址必须以http://或https开头
liuhhtx - 2019/12/19 16:35:47
上面这段代码是获取用户的登录状态, 有没有 代码,  设置用户的登录状态,  使其变成已登录, 或已退出
1
查看完整版本: 单点登录,出错提示"请求的地址必须以http://或https开头"