提交 f7ec5e5b authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 7332ca5b
......@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiOperation;
import java.util.List;
import java.util.Map;
import io.swagger.annotations.ApiParam;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
......@@ -96,7 +97,7 @@ public class OrderController {
@ApiOperation("根据订单id取消订单")
@PostMapping(OrderRequestPath.CANCEL_ORDER)
public CallBack<Boolean> cancelOrder(Integer orderId){
public CallBack<Boolean> cancelOrder(@ApiParam(value = "*订单id", required = true) @PathVariable Integer orderId){
return CallBack.success(orderService.cancelOrder(orderId));
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论