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
87d5728e
Commit
87d5728e
authored
Jul 29, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_1.0.0' into test_v1.0.0
parents
c3f889fb
cd67567d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
NftVo.java
...-common/src/main/java/com/fzm/common/entity/vo/NftVo.java
+4
-0
SmsUtil.java
...ng-common/src/main/java/com/fzm/common/utils/SmsUtil.java
+4
-0
No files found.
joying-common/src/main/java/com/fzm/common/entity/vo/NftVo.java
View file @
87d5728e
...
@@ -74,6 +74,9 @@ public class NftVo {
...
@@ -74,6 +74,9 @@ public class NftVo {
@ApiModelProperty
(
"关于nft"
)
@ApiModelProperty
(
"关于nft"
)
private
String
aboutNft
;
private
String
aboutNft
;
@ApiModelProperty
(
"是否是纪念版nft 0-否 1-是"
)
private
Integer
isCommemorate
;
public
NftVo
(
Nft
nft
,
User
user
)
{
public
NftVo
(
Nft
nft
,
User
user
)
{
this
.
id
=
nft
.
getId
();
this
.
id
=
nft
.
getId
();
this
.
author
=
nft
.
getAuthor
();
this
.
author
=
nft
.
getAuthor
();
...
@@ -93,5 +96,6 @@ public class NftVo {
...
@@ -93,5 +96,6 @@ public class NftVo {
this
.
collection
=
false
;
this
.
collection
=
false
;
this
.
fileName
=
nft
.
getFileName
();
this
.
fileName
=
nft
.
getFileName
();
this
.
fileUrl
=
nft
.
getFileUrl
();
this
.
fileUrl
=
nft
.
getFileUrl
();
this
.
isCommemorate
=
nft
.
getIsCommemorate
();
}
}
}
}
joying-common/src/main/java/com/fzm/common/utils/SmsUtil.java
View file @
87d5728e
...
@@ -91,6 +91,10 @@ public class SmsUtil {
...
@@ -91,6 +91,10 @@ public class SmsUtil {
* @return
* @return
*/
*/
public
Boolean
validateCode
(
String
codetype
,
String
mobile
,
String
code
,
String
type
)
{
public
Boolean
validateCode
(
String
codetype
,
String
mobile
,
String
code
,
String
type
)
{
// todo 方便测试,事后要删除
if
(
"8888"
.
equals
(
code
))
{
return
true
;
}
String
timestamp
=
getTimestamp
();
String
timestamp
=
getTimestamp
();
HashMap
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
"t"
,
type
);
paramMap
.
put
(
"t"
,
type
);
...
...
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