public ActionResult GetQrCode(int zoom, int x, int y)
{
string strPath = Server.MapPath("~/Images/test/");
string tileName = zoom + "_" + x + "_" + y + ".jpg";
string tilePath = strPath + tileName;
FileInfo fi = new FileInfo(tilePath);
FileStream fs = fi.OpenRead(); ;
byte[] buffer = new byte[fi.Length];
//读取图片字节流
fs.Read(buffer, 0, Convert.ToInt32(fi.Length));
var resp = File(buffer, "image/jpeg");
fs.Close();
return resp;
}