第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

跳轉(zhuǎn)到服務(wù)器報400錯誤,大家?guī)臀铱纯从猩跺e誤

跳轉(zhuǎn)到服務(wù)器報400錯誤,大家?guī)臀铱纯从猩跺e誤

有只小跳蛙 2018-12-07 01:46:27
這是后臺代碼,前臺沒有任何操作。。。。。。 public partial class cb : System.Web.UI.Page??? {??????? JavaScriptSerializer js = new JavaScriptSerializer();??????? protected void Page_Load(object sender, EventArgs e)??????? {??????????? string code = Request.QueryString["code"].ToString();??????????? if (!string.IsNullOrEmpty(code))??????????? {??????????????? string appkey = ConfigurationManager.AppSettings["appkey"];??????????????? string secret = ConfigurationManager.AppSettings["secret"];??????????????? string redirect_uri = ConfigurationManager.AppSettings["redirect_uri"];??????????????? //code = Request.QueryString["code"].ToString();??????????????? WebUtils webUtils = new WebUtils();??????????????? IDictionary<string, string> pout = new Dictionary<string, string>();??????????????? pout.Add("grant_type", "authorization_code");??????????????? pout.Add("client_id", appkey);??????????????? pout.Add("client_secret", secret);??????????????? pout.Add("code", code);??????????????? pout.Add("redirect_uri", redirect_uri);??????????????? // 沙箱??????????????? string output = webUtils.DoPost("https://oauth.tbsandbox.com/token", pout);??????????????? // 正式??????????????? //string output = webUtils.DoPost("https://oauth.taobao.com/token", pout);??????????????? cbModel cbmodel = js.Deserialize<cbModel>(output);??????????????? // Access token??????????????? string sessionKey = cbmodel.access_token;??????????????? // Access token過期時間??????????????? long expires_in = cbmodel.expires_in;??????????????? Application["SessionKey"] = sessionKey;??????????????? Application["ExpiresIn"] = expires_in;??????????? }??????? }??? }
查看完整描述

2 回答

?
慕容708150

TA貢獻1831條經(jīng)驗 獲得超4個贊

?webUtils.DoPost("https:?

出錯了。

查看完整回答
反對 回復(fù) 2019-01-21
?
慕田峪4524236

TA貢獻1875條經(jīng)驗 獲得超5個贊

配置問題。

查看完整回答
反對 回復(fù) 2019-01-21
  • 2 回答
  • 0 關(guān)注
  • 996 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號