xiaoyong931011
2021-05-12 a53fb5c597c986a45bdb9e84018e86838a7f4e88
src/main/java/com/xcong/excoin/modules/yunding/controller/YunDingController.java
@@ -5,10 +5,7 @@
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;
@@ -90,6 +87,19 @@
    }
    /**
     * 订单详情
     */
    @ApiOperation(value = "订单详情")
    @ApiResponses({
            @ApiResponse(code = 0, message = "success", response = YdOrderVo.class)
    })
    @GetMapping(value = "/getOrderInfo")
    public Result getOrderInfo(@ApiParam(name = "id", value = "订单ID", required = true, example = "1")
                                      @RequestParam(value = "id") Long id) {
        return yunDingService.getOrderInfo(id);
    }
    /**
     *订单头部数据
     */
    @ApiOperation(value = "订单头部数据")
@@ -101,6 +111,17 @@
        return yunDingService.findOrderAllInfo();
    }
    /**
     * 转换成USDT
     */
//    @ApiOperation(value = "转换成USDT")
//    @ApiResponses({
//            @ApiResponse(code = 0, message = "success", response = changeVo.class)
//    })
//    @GetMapping(value = "/findOrderAllInfo")
//    public Result findOrderAllInfo() {
//        return yunDingService.findOrderAllInfo();
//    }
}