E企盈营销工具技术服务商 热线:4006-838-530

.n麻章区E企盈小程序etC微信小程序生成分享二维码

string access_token2 = WxPayConfig.GetConfig().IsExistAccess_Token();RestClient client = new RestClient(“https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=” + access_token2);R开通手拿包小程序电话:4006-838-530estRequest request = new RestRequest(“”, HttpMethod.POST);request.RequestFormat = RequestDataFormat.Json;                request.AddBody(new { scene = lid.Value.ToString("N"), });                var response = client.ExecuteAsyncobject(request);                byte[] tt = response.Result.RawBytes;                if (tt.Length 1000)                {                    if (System.IO.Directory.Exists(HttpContext.Current.Server.MapPath(path)) == false)//如果不存在就创建file文件夹                    {                        System.IO.Directory.CreateDirectory(HttpContext.Current.Server.M开通海鲜小程序电话:4006-838-530apPath(path));                    }                    System.IO.File.WriteAllBytes(HttpContext.Current.Server.MapPath(siteFullPath), tt);//讲byte[]存储为图片                }                else                {                    LoginRecordDAL.Instance.AddLoginRecord(new loginRecord { msg = "getshare异常开通冲锋裤小程序电话:4006-838-530数据", userId = Guid.NewGuid() });                }

赞(0) 打赏
未经允许不得转载:E企盈小程序开发-热线:4006-838-530 » .n麻章区E企盈小程序etC微信小程序生成分享二维码
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

模王系统开发

联系我们升级日志

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏