package com.xinquan.order.controller.client;
|
|
|
import com.xinquan.common.core.domain.R;
|
import com.xinquan.order.service.OrderService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import lombok.RequiredArgsConstructor;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* <p>
|
* 订单表 前端控制器
|
* </p>
|
*
|
* @author mitao
|
* @since 2024-08-21
|
*/
|
@RestController
|
@RequiredArgsConstructor
|
@Api(tags = {"用户端-订单相关接口"})
|
@RequestMapping("/client/order/order")
|
public class ClientOrderController {
|
|
private OrderService orderService;
|
|
@PostMapping("/createOrder")
|
@ApiOperation(value = "创建订单")
|
public R<?> createOrder() {
|
return R.ok();
|
}
|
}
|