修改文件上传
This commit is contained in:
parent
9b9326883b
commit
2c92b82d0e
@ -101,7 +101,7 @@ public class SysFileController
|
|||||||
iXhpcImgService.insert(xhpcImg);
|
iXhpcImgService.insert(xhpcImg);
|
||||||
Map<String, Object> map = new HashMap<>(16);
|
Map<String, Object> map = new HashMap<>(16);
|
||||||
map.put("imgId", StringUtils.valueOf(xhpcImg.getImgId()));
|
map.put("imgId", StringUtils.valueOf(xhpcImg.getImgId()));
|
||||||
map.put("url", "https://dx-gzxh.oss-cn-beijing.aliyuncs.com/" + fileNames);
|
map.put("url", "https://xhpc-bucket1.oss-cn-hangzhou.aliyuncs.com/" + fileNames);
|
||||||
return AjaxResult.success(map);
|
return AjaxResult.success(map);
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user