|
@@ -129,7 +129,7 @@ public class ImageUploadUtils{
|
|
String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();
|
|
String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();
|
|
logger.info("1--------------"+path);
|
|
logger.info("1--------------"+path);
|
|
String file = new Random().nextInt(99999999) + ".jpg";
|
|
String file = new Random().nextInt(99999999) + ".jpg";
|
|
- String filePath = "/mnt/newdatadrive/data/custom/autodeploy/client/releasecode/mai/mai@beta@2020010900000000/tempImage" + file;
|
|
|
|
|
|
+ String filePath = "/mnt/newdatadrive/data/custom/autodeploy/client/releasecode/mai/mai@beta@2020010900000000/tempImage/" + file;
|
|
//新生成的图片
|
|
//新生成的图片
|
|
OutputStream out = new FileOutputStream(filePath);
|
|
OutputStream out = new FileOutputStream(filePath);
|
|
out.write(b);
|
|
out.write(b);
|