记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
董敬伟
liquidnet-bus-v1
Commits
25e6c361
Commit
25e6c361
authored
Mar 17, 2022
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改购买逻辑
parent
c67a9d7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
GalaxyNftBuyRespDto.java
...quidnet/service/galaxy/dto/param/GalaxyNftBuyRespDto.java
+3
-0
GalaxyNftImageReqDto.java
...uidnet/service/galaxy/dto/param/GalaxyNftImageReqDto.java
+6
-3
GalaxyNftImageRespDto.java
...idnet/service/galaxy/dto/param/GalaxyNftImageRespDto.java
+6
-9
No files found.
liquidnet-bus-api/liquidnet-service-galaxy-api/src/main/java/com/liquidnet/service/galaxy/dto/param/GalaxyNftBuyRespDto.java
View file @
25e6c361
...
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.galaxy.dto.param;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -18,8 +19,10 @@ import java.io.Serializable;
@ApiModel
(
value
=
"GalaxyNftBuyRespDto"
,
description
=
"NFT购买"
)
@Data
public
class
GalaxyNftBuyRespDto
implements
Serializable
,
Cloneable
{
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"用户Id"
)
private
String
userId
;
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"用户购买的nftId"
)
private
String
nftId
;
@Override
...
...
liquidnet-bus-api/liquidnet-service-galaxy-api/src/main/java/com/liquidnet/service/galaxy/dto/param/GalaxyNftImageReqDto.java
View file @
25e6c361
...
...
@@ -2,8 +2,11 @@ package com.liquidnet.service.galaxy.dto.param;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Size
;
import
java.io.Serializable
;
/**
...
...
@@ -18,9 +21,9 @@ import java.io.Serializable;
@ApiModel
(
value
=
"GalaxyNftImageReqDto"
,
description
=
"NFT图片检测"
)
@Data
public
class
GalaxyNftImageReqDto
extends
GalaxyBaseReqDto
implements
Serializable
,
Cloneable
{
/**
* 素材地址(全路径
)
*/
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"素材地址(全路径)不能超过500字符"
)
@NotBlank
(
message
=
"素材地址(全路径)不能为空!"
)
@Size
(
min
=
2
,
max
=
500
,
message
=
"素材地址(全路径)不能超过500字符"
)
private
String
nftOriginalUrl
;
@Override
...
...
liquidnet-bus-api/liquidnet-service-galaxy-api/src/main/java/com/liquidnet/service/galaxy/dto/param/GalaxyNftImageRespDto.java
View file @
25e6c361
...
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.galaxy.dto.param;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -18,17 +19,13 @@ import java.io.Serializable;
@ApiModel
(
value
=
"GalaxyNftImageRespDto"
,
description
=
"NFT图片检测"
)
@Data
public
class
GalaxyNftImageRespDto
implements
Serializable
,
Cloneable
{
/**
* 建议您拿到判断结果后的执行操作。建议值,Block:建议屏蔽 Review:建议复审 Pass:建议通过
*/
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"Block:建议屏蔽 Review:建议复审 Pass:建议通过"
)
private
String
suggestion
;
/**
* 恶意标签,Normal:正常 Porn:色情 Abuse:谩骂 Ad:广告。以及其他令人反感、不安全或不适宜的内容类型
*/
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"恶意标签,Normal:正常 Porn:色情 Abuse:谩骂 Ad:广告。以及其他令人反感、不安全或不适宜的内容类型"
)
private
String
label
;
/**
* 机器判断当前分类的置信度,取值范围:0-100。分数越高,表示越有可能属于当前分类(如:色情99,则该样本属于色情的置信度非常高。)
*/
@ApiModelProperty
(
position
=
1
,
required
=
true
,
value
=
"机器判断当前分类的置信度,取值范围:0-100。分数越高,表示越有可能属于当前分类(如:色情99,则该样本属于色情的置信度非常高。)"
)
private
Integer
score
;
@Override
...
...
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