refactor(文件服务): 接口修改返回值
This commit is contained in:
25
src/main/java/cn/celess/blog/entity/model/FileInfo.java
Normal file
25
src/main/java/cn/celess/blog/entity/model/FileInfo.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package cn.celess.blog.entity.model;
|
||||
|
||||
/**
|
||||
* @author : xiaohai
|
||||
* @date : 2020/10/15 22:16
|
||||
* @desc :
|
||||
*/
|
||||
public class FileInfo {
|
||||
/**
|
||||
* 文件名
|
||||
*/
|
||||
public String key;
|
||||
/**
|
||||
* 文件hash值
|
||||
*/
|
||||
public String hash;
|
||||
/**
|
||||
* 文件大小,单位:字节
|
||||
*/
|
||||
public long size;
|
||||
/**
|
||||
* 文件上传时间,单位为:100纳秒
|
||||
*/
|
||||
public long uploadTime;
|
||||
}
|
||||
Reference in New Issue
Block a user