问题描述
Top.Api.Util.WebUtilswu=newTop.Api.Util.WebUtils();IDictionary<string,string>param=newDictionary<string,string>();param.Add("grant_type","authorization_code");param.Add("code",authorizeCode);param.Add("client_id","21817899");param.Add("client_secret","4889898822627796a9cd3050e11d1199");param.Add("redirect_uri","http://121.45.168.20/webform1.aspx");param.Add("view","web");stringresponse=wu.DoPost("https://oauth.tbsandbox.com/token",param);获取到authorizecode后,使用这段代码去获取token的时候出错请教诸位有知道怎么处理的吗?
解决方案
时间: 2024-10-31 04:32:24