Commit a30a18db authored by tangtuo's avatar tangtuo

nft列表页加入封面文件路径字段

parent 84c036f0
......@@ -26,6 +26,9 @@ public class CollectionNftVo {
@ApiModelProperty("封面")
private String cover;
@ApiModelProperty("文件路径")
private String fileUrl;
@ApiModelProperty("主题,多个用逗号,隔开")
private String theme;
......@@ -43,5 +46,6 @@ public class CollectionNftVo {
this.name = nft.getName();
this.cover = nft.getCover();
this.isCommemorate = nft.getIsCommemorate();
this.fileUrl=nft.getFileUrl();
}
}
......@@ -21,6 +21,9 @@ public class NftCertificateVo {
@ApiModelProperty("名称")
private String name;
@ApiModelProperty("封面")
private String cover;
@ApiModelProperty("发行人")
private String publisher;
......@@ -56,5 +59,6 @@ public class NftCertificateVo {
this.qrCode = qrCode;
this.examineStatus = 0;
this.copyrightStatus = 0;
this.cover=nft.getCover();
}
}
......@@ -18,6 +18,7 @@
a.cover,
a.theme,
a.nft_id,
a.file_url,
a.is_commemorate,
b.category_name as category
from tb_nft a left join tb_category b on a.category_id = b.id
......@@ -82,6 +83,7 @@
a.cover,
a.theme,
a.nft_id,
a.file_url,
a.is_commemorate,
b.category_name as category
from tb_nft a left join tb_category b on a.category_id = b.id
......
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