Helius
2021-06-11 20333d03d0d1008d8e16f2f444ef8fdab8c53c94
src/main/java/com/xcong/excoin/modules/blackchain/controller/BlockController.java
@@ -1,5 +1,6 @@
package com.xcong.excoin.modules.blackchain.controller;
import com.xcong.excoin.common.annotations.SubmitRepeat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
@@ -32,7 +33,7 @@
   BlockSerive blockSerive;
   /**
    * BTC
    * @param token
    * @param
    * @return
    */
   @ApiOperation(value = "链上生成钱包地址接口", notes = "链上生成钱包地址接口")
@@ -40,8 +41,9 @@
      @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query")
   })
   @GetMapping(value = "/findBlockAddress")
   public Result findBlockAddress(String symbol) {
      return blockSerive.findBlockAddress(symbol);
   @SubmitRepeat
   public Result findBlockAddress(String symbol, String lable) {
      return blockSerive.findBlockAddress(symbol, lable);
   }
}