C#获取领取宝用户信息,基于官方SDK写的一个小DEMOAuth_code=Request.QueryString["auth_code"];if(string.IsNullOrEmpty(Auth_code)){varurl=string.Format("https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id={0}&scope=auth_user&redirect_uri={1}",appid,ENCODED_URL);Response.Redirect(url);}
1