摘要: 1 [HttpPost] 2 public Task ImgUpload() 3 { 4 // 检查是否是 multipart/form-data 5 if (!Request.Content.IsMimeMultipartContent("form-data")) 6 throw new HttpResponseException(HttpStatusCode.UnsupportedMediaType); 7 //文件保存目录路径 8 string SaveTempPath = "~/SayPlaces/" + "/SayPic... 阅读全文
posted @ 2013-12-22 14:45 爱尚~为技术疯狂 阅读(3366) 评论(1) 推荐(0) 编辑