Commit 18fd5782 authored by jianhua.zhang's avatar jianhua.zhang

首页搜索交易详情调整

parent 1ec79e6e
......@@ -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();
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment