package cc.mrbird.febs.mall.controller;
|
|
import cc.mrbird.febs.common.entity.FebsResponse;
|
import cc.mrbird.febs.mall.dto.AddOrderDto;
|
import cc.mrbird.febs.mall.service.IApiMallOrderInfoService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import lombok.RequiredArgsConstructor;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.validation.annotation.Validated;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.List;
|
|
/**
|
* @author wzy
|
* @date 2021-09-18
|
**/
|
@Slf4j
|
@Validated
|
@RestController
|
@RequiredArgsConstructor
|
@RequestMapping(value = "/api/order")
|
@Api(value = "ApiMallOrderController", tags = "订单接口类")
|
public class ApiMallOrderController {
|
|
private final IApiMallOrderInfoService mallOrderInfoService;
|
|
@ApiOperation(value = "addOrder", notes = "提交订单")
|
@PostMapping(value = "/addOrder")
|
public FebsResponse addOrder(@RequestBody List<AddOrderDto> list) {
|
return null;
|
}
|
}
|