| | |
| | | String imageNames = System.currentTimeMillis() + IdUtil.simpleUUID() + imageSuffix; |
| | | String imageName = "xcx/" + imageNames; |
| | | OssUtils.uploadFileWithBase64(base64Str, imageName); |
| | | String bucket_name = OssUtils.END_POINT; |
| | | String bucket_name = OssUtils.END_POINT_URL; |
| | | String url = bucket_name + "/" + imageName; |
| | | |
| | | Map<String,Object> map = new HashMap<String,Object>(); |
| | |
| | | String imageNames = System.currentTimeMillis() + IdUtil.simpleUUID() + imageFuffix; |
| | | String imageName = "xcx/" + imageNames; |
| | | OssUtils.uploadFileWithBase64(base64Str, imageName); |
| | | String bucket_name = OssUtils.END_POINT; |
| | | String bucket_name = OssUtils.END_POINT_URL; |
| | | String url = bucket_name + "/" + imageName; |
| | | |
| | | return new FebsResponse().message("上传成功").success().data(url); |