1.在appsettings配置你的小程序配置信息 "WechatConfig": { "appid": "", "secret": "" }, 2.请求接口时先获取Access_token #region 获取小程序的Access_token public object GetAccess_token(string appid, string secret) { string strUrl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appid + "&secret=" + secret; HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(strUrl); req.Method = "GET"; req.ContentType = "textml;charset=UTF-8"; HttpWebResponse response =...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with return
Contact return, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack