no message
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -49,7 +49,7 @@ public class ImgInfoController { | ... | @@ -49,7 +49,7 @@ public class ImgInfoController { |
49 | imgInfo.setGtmcUid(map.get("gtmc_uid").toString()); | 49 | imgInfo.setGtmcUid(map.get("gtmc_uid").toString()); |
50 | imgInfo.setGtmcDepartment(map.get("gtmc_department").toString()); | 50 | imgInfo.setGtmcDepartment(map.get("gtmc_department").toString()); |
51 | imgInfo.setGtmcName(map.get("gtmc_name").toString()); | 51 | imgInfo.setGtmcName(map.get("gtmc_name").toString()); |
52 | FileUploadInfo info = new DefaultFileUpload().upload("/Users/JA/Documents/img", file); | 52 | FileUploadInfo info = new DefaultFileUpload().upload("/data/home/app/4Q0i/uimg", file); |
53 | String url = info.getUrl(); | 53 | String url = info.getUrl(); |
54 | imgInfo.setImgUrl(url); | 54 | imgInfo.setImgUrl(url); |
55 | boolean b = this.imgInfoService.create(imgInfo); | 55 | boolean b = this.imgInfoService.create(imgInfo); | ... | ... |
-
Please register or sign in to post a comment