修改文件上传

This commit is contained in:
yuyang 2021-09-01 17:39:41 +08:00
parent 9b9326883b
commit 2c92b82d0e

View File

@ -101,7 +101,7 @@ public class SysFileController
iXhpcImgService.insert(xhpcImg);
Map<String, Object> map = new HashMap<>(16);
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);
} catch (IOException e) {