Skip to content

Commit

Permalink
Update queryTokenInfo path
Browse files Browse the repository at this point in the history
  • Loading branch information
leej1012 committed Nov 21, 2023
1 parent 2079081 commit b564bd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public BigDecimal queryNativeTotalSupply(@PathVariable String token) {
}

@ApiOperation(value = "Get ONT,ONG token info")
@GetMapping(value = "/api/{token}/info")
@GetMapping(value = "/v2/api/{token}/info")
public List<TokenInfoDto> queryTokenInfo(@PathVariable String token) {
return summaryService.queryTokenInfo(token);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
where called_contract_hash = #{calledContractHash}
</select>

<select id="selectTransferSumByCondition" resultType="BigDecimal">
<select id="selectTransferSumByCondition" resultType="BigDecimal" useCache="true">
SELECT IFNULL(SUM(amount),0) FROM tbl_tx_detail
WHERE from_address = #{fromAddress}
AND to_address = #{toAddress}
Expand Down

0 comments on commit b564bd1

Please sign in to comment.