2013年5月26日
摘要: 1 [HttpPost] 2 public ActionResult UpImage(long id = 0) { 3 //上传配置 4 const int size = 2; // 文件大小限制,单位MB 5 string[] filetype = { ".gif", ".png", ".jpg", ".jpeg", ".bmp" }; //文件允许格式 6 var savePath = string.Format("/upload/taobao/{0}/", id); / 阅读全文
posted @ 2013-05-26 20:20 飞沙 阅读(738) 评论(1) 推荐(0)