| | |
| | | package com.xcong.excoin.modules.yunding.controller; |
| | | |
| | | import com.xcong.excoin.common.response.Result; |
| | | import com.xcong.excoin.modules.yunding.dto.InsureChangeUsdtDto; |
| | | import com.xcong.excoin.modules.yunding.dto.PayProductDto; |
| | | import com.xcong.excoin.modules.yunding.dto.YdOrderListDto; |
| | | import com.xcong.excoin.modules.yunding.dto.YdProductListDto; |
| | | import com.xcong.excoin.modules.yunding.service.YunDingService; |
| | | import com.xcong.excoin.modules.yunding.vo.OrderAllInfoVo; |
| | | import com.xcong.excoin.modules.yunding.vo.YdBasicSettingVo; |
| | | import com.xcong.excoin.modules.yunding.vo.YdOrderVo; |
| | | import com.xcong.excoin.modules.yunding.vo.YdProductVo; |
| | | import com.xcong.excoin.modules.yunding.vo.*; |
| | | import io.swagger.annotations.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | return yunDingService.findOrderAllInfo(); |
| | | } |
| | | |
| | | /** |
| | | * 转换成USDT |
| | | */ |
| | | @ApiOperation(value = "获取转换成USDT信息") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 0, message = "success", response = ChangeVo.class) |
| | | }) |
| | | @GetMapping(value = "/changeUsdt") |
| | | public Result changeUsdt() { |
| | | return yunDingService.changeUsdt(); |
| | | } |
| | | |
| | | /** |
| | | * 确认转换成USDT |
| | | */ |
| | | @ApiOperation(value = "确认转换成USDT") |
| | | @PostMapping(value = "/insureChangeUsdt") |
| | | public Result insureChangeUsdt(@RequestBody @Validated InsureChangeUsdtDto insureChangeUsdtdto){ |
| | | return yunDingService.insureChangeUsdt(insureChangeUsdtdto); |
| | | } |
| | | |
| | | |
| | | } |