Commit 9905870b by zhangxingmin

push

parent 889570cb
......@@ -53,7 +53,7 @@ public class ApiOssServiceImpl implements ApiOssService {
UploadResult result = ossService.getUploadResult(ossUploadFileDto.getFileKey(), Duration.ofHours(1));
BeanUtils.copyProperties(result,response);
response.setFileBizId(ossUploadFileDto.getFileBizId());
return Result.success(response);
} catch (IOException e) {
log.error("文件上传失败", e);
......
......@@ -45,4 +45,9 @@ public class ApiUploadResponse {
* 上传时间
*/
private Date uploadTime;
/**
* 文件业务ID唯一标识
*/
private String fileBizId;
}
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