| | |
| | | |
| | | 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; |
| | |
| | | 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 = "链上钱包接口") |
| | |
| | | return blockSerive.findAddress(); |
| | | } |
| | | |
| | | @ApiOperation(value = "填写充值信息") |
| | | @PostMapping(value = "/setChargeInfo") |
| | | public FebsResponse setChargeInfo(@RequestBody @Validated ApiChargeInfoDto apiChargeInfoDto) { |
| | | return blockSerive.setChargeInfo(apiChargeInfoDto); |
| | | } |
| | | |
| | | } |