1
xiaoyong931011
2023-02-01 cdb4f45b507e52f67c235b6d4b7307ec194f02a1
src/main/java/cc/mrbird/febs/mall/controller/BlockController.java
@@ -2,6 +2,8 @@
import cc.mrbird.febs.common.entity.FebsResponse;
import cc.mrbird.febs.common.utils.RedisUtils;
import cc.mrbird.febs.mall.dto.ApiChargeInfoDto;
import cc.mrbird.febs.mall.dto.ForgetPwdDto;
import cc.mrbird.febs.mall.service.BlockSerive;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -9,9 +11,8 @@
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@Slf4j
@Api(value = "链上钱包接口", tags = "链上钱包接口")
@@ -39,4 +40,10 @@
      return blockSerive.findAddress();
   }
   @ApiOperation(value = "填写充值信息")
   @PostMapping(value = "/setChargeInfo")
   public FebsResponse setChargeInfo(@RequestBody @Validated ApiChargeInfoDto apiChargeInfoDto) {
      return blockSerive.setChargeInfo(apiChargeInfoDto);
   }
}