Commit 85328b2c authored by jianhua.zhang's avatar jianhua.zhang

首页统计接口微调

parent 6de5665d
......@@ -535,7 +535,7 @@ public class TransactionControllerV1 {
*
* @return
*/
@RequestMapping(value="trans/tps", method = RequestMethod.GET)
@RequestMapping(value="/indexStatistical", method = RequestMethod.GET)
public ApiResponse transTPS() {
CensusModel censusModel = new CensusModel();
......@@ -592,7 +592,7 @@ public class TransactionControllerV1 {
censusModel.setTransNumber(totalVolume.toString());
}
censusModel.setDifficulty("");
//censusModel.setDifficulty("");
return ResponseKit.success(censusModel);
}
......
......@@ -24,7 +24,7 @@ public class CensusModel {
@JsonProperty(value="block_number")
private String blockNumber;
private String tps;
private String difficulty;
//private String difficulty;
@JsonProperty(value="address_number")
private String addressNumber;
......
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