Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lei
fzm-joying
Commits
a30a18db
Commit
a30a18db
authored
Aug 27, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nft列表页加入封面文件路径字段
parent
84c036f0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
CollectionNftVo.java
...c/main/java/com/fzm/common/entity/vo/CollectionNftVo.java
+4
-0
NftCertificateVo.java
.../main/java/com/fzm/common/entity/vo/NftCertificateVo.java
+4
-0
NftMapper.xml
joying-common/src/main/resources/mapper/NftMapper.xml
+2
-0
No files found.
joying-common/src/main/java/com/fzm/common/entity/vo/CollectionNftVo.java
View file @
a30a18db
...
@@ -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
();
}
}
}
}
joying-common/src/main/java/com/fzm/common/entity/vo/NftCertificateVo.java
View file @
a30a18db
...
@@ -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
();
}
}
}
}
joying-common/src/main/resources/mapper/NftMapper.xml
View file @
a30a18db
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment