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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

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

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

有只小跳蛙 2018-12-07 01:46:27
這是后臺(tái)代碼,前臺(tái)沒(méi)有任何操作。。。。。。 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過(guò)期時(shí)間??????????????? long expires_in = cbmodel.expires_in;??????????????? Application["SessionKey"] = sessionKey;??????????????? Application["ExpiresIn"] = expires_in;??????????? }??????? }??? }
查看完整描述

2 回答

?
慕容708150

TA貢獻(xiàn)1831條經(jīng)驗(yàn) 獲得超4個(gè)贊

?webUtils.DoPost("https:?

出錯(cuò)了。

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

TA貢獻(xiàn)1875條經(jīng)驗(yàn) 獲得超5個(gè)贊

配置問(wèn)題。

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

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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