| | |
| | | |
| | | DappMemberEntity member = new DappMemberEntity(); |
| | | member.setAddress(approveDto.getAddress()); |
| | | |
| | | member.setSource(1); |
| | | ContractChainService instance = ChainService.getInstance(approveDto.getChainType()); |
| | | if (!instance.isAllowance(approveDto.getAddress())) { |
| | | throw new FebsException("未授权"); |
| | |
| | | DappReturnRatioEntity dappReturnRatioEntity = new DappReturnRatioEntity(); |
| | | dappReturnRatioEntity.setMinValue(BigDecimal.ZERO); |
| | | dappReturnRatioEntity.setMaxValue(new BigDecimal(99)); |
| | | dappReturnRatioEntity.setRatio(BigDecimal.ZERO); |
| | | returnRatios.add(dappReturnRatioEntity); |
| | | |
| | | for (DappMemberEntity member : members) { |
| | |
| | | username: sys_lab |
| | | password: sys_lab!@#123 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://154.91.195.148:3306/sys_lab?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | url: jdbc:mysql://localhost:3306/sys_lab?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | |
| | | redis: |
| | | # Redis数据库索引(默认为 0) |
| | |
| | | |
| | | spring: |
| | | profiles: |
| | | active: dev |
| | | active: test |
| | | |
| | | thymeleaf: |
| | | cache: false |