Helius
2021-05-12 5c7b81efc49c18da8cf5636ac8298e02f8da4315
src/main/java/com/xcong/excoin/modules/yunding/controller/YunDingController.java
@@ -6,6 +6,7 @@
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 io.swagger.annotations.*;
@@ -28,6 +29,9 @@
     * 全网数据
     */
    @ApiOperation(value = "全网数据")
    @ApiResponses({
            @ApiResponse(code = 0, message = "success", response = YdBasicSettingVo.class)
    })
    @GetMapping(value = "/findAllInfo")
    public Result findAllInfo() {
        return yunDingService.findAllInfo();
@@ -86,6 +90,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 = "订单头部数据")