Commit 886d2319 authored by shiyu's avatar shiyu

创建商品,图片url加上尺寸

parent b8b630eb
...@@ -58,7 +58,6 @@ public class StorageService { ...@@ -58,7 +58,6 @@ public class StorageService {
* 文件索引名 * 文件索引名
*/ */
public String store(InputStream inputStream, long contentLength, String contentType, String fileName) { public String store(InputStream inputStream, long contentLength, String contentType, String fileName) {
String key = generateKey(fileName);
BufferedImage bufferedImage = null; BufferedImage bufferedImage = null;
try { try {
bufferedImage = ImageIO.read(inputStream); bufferedImage = ImageIO.read(inputStream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment