|
@ -102,10 +102,10 @@ public class ResourceTmpService extends Upload {
|
102
|
102
|
if (bytes != null) {
|
103
|
103
|
String imgId = StringUtil.buildUUID();
|
104
|
104
|
rt.setImg("importRes/" + imgId + ".jpg");
|
105
|
|
FileOutputStream fos = new FileOutputStream("D:/tmp/data/image/" + imgId + ".jpg");
|
106
|
|
FileOutputStream fos2 = new FileOutputStream("D:/tmp/data/image/" + imgId + "_s.jpg");
|
107
|
|
//FileOutputStream fos = new FileOutputStream("/kexiu/webdata1/data/resource/importRes/"+imgId+".jpg");
|
108
|
|
//FileOutputStream fos2 = new FileOutputStream("/kexiu/webdata1/data/resource/importRes/"+imgId+"_s.jpg");
|
|
105
|
//FileOutputStream fos = new FileOutputStream("D:/tmp/data/image/" + imgId + ".jpg");
|
|
106
|
//FileOutputStream fos2 = new FileOutputStream("D:/tmp/data/image/" + imgId + "_s.jpg");
|
|
107
|
FileOutputStream fos = new FileOutputStream("/kexiu/webdata/data/resource/importRes/"+imgId+".jpg");
|
|
108
|
FileOutputStream fos2 = new FileOutputStream("/kexiu/webdata/data/resource/importRes/"+imgId+"_s.jpg");
|
109
|
109
|
try {
|
110
|
110
|
fos.write(bs);
|
111
|
111
|
fos.flush();
|