记得上下班打卡 | 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
93083482
Commit
93083482
authored
Aug 17, 2022
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实现百度链nft转让查询功能
parent
181fa43d
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
737 additions
and
0 deletions
+737
-0
BaseDef.java
...r/src/main/java/com/baidu/xasset/client/base/BaseDef.java
+195
-0
XassetDef.java
...c/main/java/com/baidu/xasset/client/xasset/XassetDef.java
+539
-0
XuperTradeQueryBiz.java
...t/service/galaxy/router/xuper/biz/XuperTradeQueryBiz.java
+3
-0
No files found.
liquidnet-bus-common/liquidnet-common-third/liquidnet-common-third-xuper/src/main/java/com/baidu/xasset/client/base/BaseDef.java
0 → 100644
View file @
93083482
package
com
.
baidu
.
xasset
.
client
.
base
;
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @version V1.0
* @Description: TODO
* @class: BaseDef
* @Package com.baidu.xasset.client.base
* @Copyright: LightNet @ Copyright (c) 2022
* @date 2022/8/17 10:59
*/
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
public
class
BaseDef
{
public
static
final
int
ERRNOSUCC
=
0
;
public
static
final
int
MAXLIMIT
=
50
;
public
BaseDef
()
{
}
public
static
class
ListAddrResp
<
T
>
{
public
long
requestId
;
public
int
errNo
;
public
String
errMsg
;
public
T
list
;
public
ListAddrResp
(
long
requestId
,
int
errNo
,
String
errMsg
,
T
list
)
{
this
.
requestId
=
requestId
;
this
.
errNo
=
errNo
;
this
.
errMsg
=
errMsg
;
this
.
list
=
list
;
}
}
public
static
class
ListPageResp
<
T
>
{
public
long
requestId
;
public
int
errNo
;
public
String
errMsg
;
public
T
list
;
public
int
totalCnt
;
public
ListPageResp
(
long
requestId
,
int
errNo
,
String
errMsg
,
T
list
,
int
totalCnt
)
{
this
.
requestId
=
requestId
;
this
.
errNo
=
errNo
;
this
.
errMsg
=
errMsg
;
this
.
list
=
list
;
this
.
totalCnt
=
totalCnt
;
}
public
long
getRequestId
()
{
return
requestId
;
}
public
void
setRequestId
(
long
requestId
)
{
this
.
requestId
=
requestId
;
}
public
int
getErrNo
()
{
return
errNo
;
}
public
void
setErrNo
(
int
errNo
)
{
this
.
errNo
=
errNo
;
}
public
String
getErrMsg
()
{
return
errMsg
;
}
public
void
setErrMsg
(
String
errMsg
)
{
this
.
errMsg
=
errMsg
;
}
public
T
getList
()
{
return
list
;
}
public
void
setList
(
T
list
)
{
this
.
list
=
list
;
}
public
int
getTotalCnt
()
{
return
totalCnt
;
}
public
void
setTotalCnt
(
int
totalCnt
)
{
this
.
totalCnt
=
totalCnt
;
}
}
public
static
class
ListCursorResp
<
T
>
{
public
long
requestId
;
public
int
errNo
;
public
String
errMsg
;
public
T
list
;
public
int
hasMore
;
public
String
cursor
;
public
ListCursorResp
(
long
requestId
,
int
errNo
,
String
errMsg
,
T
list
,
int
hasMore
,
String
cursor
)
{
this
.
requestId
=
requestId
;
this
.
errNo
=
errNo
;
this
.
errMsg
=
errMsg
;
this
.
list
=
list
;
this
.
hasMore
=
hasMore
;
this
.
cursor
=
cursor
;
}
public
long
getRequestId
()
{
return
requestId
;
}
public
void
setRequestId
(
long
requestId
)
{
this
.
requestId
=
requestId
;
}
public
int
getErrNo
()
{
return
errNo
;
}
public
void
setErrNo
(
int
errNo
)
{
this
.
errNo
=
errNo
;
}
public
String
getErrMsg
()
{
return
errMsg
;
}
public
void
setErrMsg
(
String
errMsg
)
{
this
.
errMsg
=
errMsg
;
}
public
T
getList
()
{
return
list
;
}
public
void
setList
(
T
list
)
{
this
.
list
=
list
;
}
public
int
getHasMore
()
{
return
hasMore
;
}
public
void
setHasMore
(
int
hasMore
)
{
this
.
hasMore
=
hasMore
;
}
public
String
getCursor
()
{
return
cursor
;
}
public
void
setCursor
(
String
cursor
)
{
this
.
cursor
=
cursor
;
}
}
public
static
class
Resp
<
T
>
{
public
T
apiResp
;
public
RequestRes
res
;
public
Resp
(
T
resp
,
RequestRes
res
)
{
this
.
apiResp
=
resp
;
this
.
res
=
res
;
}
}
public
static
class
BaseResp
{
public
long
requestId
;
public
int
errNo
;
public
String
errMsg
;
public
BaseResp
(
long
requestId
,
int
errNo
,
String
errMsg
)
{
this
.
requestId
=
requestId
;
this
.
errNo
=
errNo
;
this
.
errMsg
=
errMsg
;
}
}
public
static
class
RequestRes
{
public
int
httpCode
;
public
String
reqUrl
;
public
String
traceId
;
public
String
body
;
RequestRes
(
int
httpCode
,
String
reqUrl
,
String
traceId
,
String
body
)
{
this
.
httpCode
=
httpCode
;
this
.
reqUrl
=
reqUrl
;
this
.
traceId
=
traceId
;
this
.
body
=
body
;
}
}
}
liquidnet-bus-common/liquidnet-common-third/liquidnet-common-third-xuper/src/main/java/com/baidu/xasset/client/xasset/XassetDef.java
0 → 100644
View file @
93083482
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/galaxy/router/xuper/biz/XuperTradeQueryBiz.java
View file @
93083482
...
@@ -243,6 +243,9 @@ public class XuperTradeQueryBiz implements IGalaxyRouterStrategyTradeQuery {
...
@@ -243,6 +243,9 @@ public class XuperTradeQueryBiz implements IGalaxyRouterStrategyTradeQuery {
transInfoDto
.
setDealTimestampStr
(
DateUtil
.
format
(
tradeTime
,
DateUtil
.
Formatter
.
yyyyMMddHHmmss
));
transInfoDto
.
setDealTimestampStr
(
DateUtil
.
format
(
tradeTime
,
DateUtil
.
Formatter
.
yyyyMMddHHmmss
));
nftTradeListRespDto
.
getTransList
().
add
(
transInfoDto
);
nftTradeListRespDto
.
getTransList
().
add
(
transInfoDto
);
}
}
}
else
{
nftTradeListRespDto
.
setTransList
(
null
);
nftTradeListRespDto
.
setTotal
(
Long
.
parseLong
(
String
.
valueOf
(
respDto
.
getList
().
size
())));
}
}
return
ResponseDto
.
success
(
nftTradeListRespDto
);
return
ResponseDto
.
success
(
nftTradeListRespDto
);
}
else
{
}
else
{
...
...
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