| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = getDataTable(dappMemberService.selectInPage(member, request)); |
| | | return new FebsResponse().success().data(dataTable); |
| | | } |
| | | |
| | | @RequestMapping(value = "/getBalanceByAddress/{address}") |
| | | public FebsResponse getBalanceByAddress(@PathVariable("address") String address) { |
| | | |
| | | // DappMemberEntity member = dappMemberService.findByAddress(address); |
| | | // member.setBalance(BigDecimal.valueOf(100)); |
| | | return new FebsResponse().success().data(BigDecimal.valueOf(100)); |
| | | } |
| | | } |