Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tron-explore
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
张建华@五瓣科技
tron-explore
Commits
18fd5782
Commit
18fd5782
authored
Nov 18, 2020
by
jianhua.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页搜索交易详情调整
parent
1ec79e6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
TransactionControllerV1.java
...n/tron/explore/controller/v1/TransactionControllerV1.java
+4
-1
Executor.java
src/main/java/com/wuban/tron/explore/fetch/Executor.java
+1
-1
No files found.
src/main/java/com/wuban/tron/explore/controller/v1/TransactionControllerV1.java
View file @
18fd5782
...
...
@@ -110,6 +110,7 @@ public class TransactionControllerV1 {
交易hash
*/
if
(
condition
.
length
()==
Constant
.
TX_ID_LEN
)
{
ResDataModel
<
AddessInfoModel
>
resDataModel
=
new
ResDataModel
<>();
TransInfoModel
model
=
TransInfoModel
.
getInstance
();
TransactionExample
example
=
new
TransactionExample
();
example
.
createCriteria
().
andTxIdEqualTo
(
condition
);
...
...
@@ -131,7 +132,9 @@ public class TransactionControllerV1 {
model
.
setTimestamp
(
tt
.
toString
());
}
}
return
ResponseKit
.
success
(
model
);
resDataModel
.
setData
(
model
);
resDataModel
.
setT
(
HomeSearchTypeEnum
.
TRANSACTION_INFO
.
getCode
());
return
ResponseKit
.
success
(
resDataModel
);
}
return
ResponseKit
.
success
();
...
...
src/main/java/com/wuban/tron/explore/fetch/Executor.java
View file @
18fd5782
...
...
@@ -20,7 +20,7 @@ import java.util.concurrent.atomic.AtomicInteger;
@Slf4j
public
class
Executor
{
private
static
final
int
SIZE
=
15
;
private
static
final
int
SIZE
=
20
;
private
final
List
<
AbstractJob
>
jobList
=
new
ArrayList
<>();
private
final
String
name
;
private
ThreadPoolExecutor
pool
;
...
...
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