//引用类库XH.Common string fileName = Guid.NewGuid().ToString("N") + ".jpg"; string filePath = System.AppDomain.CurrentDomain.BaseDirectory + "QRImg\\" + fileName; QRCoderUtil.GetQRCode("XXXXXX", filePath); //XXXXXX二维码字符串内容,文件本地存储路径 //文件访问Url string QRCodeUrl = "http://" + Request.Url.Authority + "/QR