完成以下第三方接口对接:

1.地图功能-地理/逆地理编码
2.发送短信验证码
3.COS云对象存储对接
其他:
完成文件上传/预览公共接口
This commit is contained in:
guotao 2026-01-12 18:50:25 +08:00
parent 39953cca84
commit cf2295b85f
3 changed files with 159 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package com.xjhs.findmemerchant.file.dao;
import com.xjhs.findmemerchant.common.jpa.id.SnowflakeGenerated;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import org.hibernate.annotations.Comment;
import java.time.LocalDateTime;
/**
* 文件信息表
*/
@Data
@Entity
@Comment("文件信息表")
public class FileMetaInfo {
@Id
@SnowflakeGenerated
@Comment("主键")
private Long id;
@Comment("文件原始名称")
private String name;
@Comment("文件媒体类型")
private String contentType;
@Comment("文件扩展名称")
@Column(length = 10)
private String extension;
@Comment("本地存储路径")
private String savePath;
@Comment("是否已迁移到云服务")
private boolean moveToCloud = false;
@Comment("云对象id")
@Column(length = 50)
private String cloudObjectId;
@Comment("创建时间")
private LocalDateTime createTime = LocalDateTime.now();
}