fix
Helius
2022-07-08 5343d9804bd2c91fe85e047966f4181d2da05c00
fix
4 files modified
7 ■■■■■ changed files
src/main/java/cc/mrbird/febs/dapp/service/impl/DappMemberServiceImpl.java 2 ●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/job/MineProfitJob.java 1 ●●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml 2 ●●● patch | view | raw | blame | history
src/main/resources/application.yml 2 ●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/dapp/service/impl/DappMemberServiceImpl.java
@@ -57,7 +57,7 @@
        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("未授权");
src/main/java/cc/mrbird/febs/job/MineProfitJob.java
@@ -87,6 +87,7 @@
        DappReturnRatioEntity dappReturnRatioEntity = new DappReturnRatioEntity();
        dappReturnRatioEntity.setMinValue(BigDecimal.ZERO);
        dappReturnRatioEntity.setMaxValue(new BigDecimal(99));
        dappReturnRatioEntity.setRatio(BigDecimal.ZERO);
        returnRatios.add(dappReturnRatioEntity);
        for (DappMemberEntity member : members) {
src/main/resources/application-dev.yml
@@ -18,7 +18,7 @@
          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)
src/main/resources/application.yml
@@ -5,7 +5,7 @@
spring:
  profiles:
    active: dev
    active: test
  thymeleaf:
    cache: false