Commit a30a18db authored by tangtuo's avatar tangtuo

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

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