摘要: 前台代码: bindPhoto(e) { var that = this; wx.chooseImage({ count: 1, sizeType: ['original','compressed'],// 指定原图或者压缩图 sourceType: ['album', 'camera'], // 阅读全文
posted @ 2018-06-18 13:57 baby孔祥超 阅读(2315) 评论(0) 推荐(0)
摘要: Java文件下载的几种方式 public HttpServletResponse download(String path, HttpServletResponse response) { try { // path是指欲下载的文件的路径。 File file = new File(path); / 阅读全文
posted @ 2018-06-18 09:46 baby孔祥超 阅读(156) 评论(0) 推荐(0)