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

--no commit message

上级 d9dcd9d4
......@@ -9,12 +9,7 @@ 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;
import org.springframework.web.bind.annotation.PathVariable;
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 org.springframework.web.bind.annotation.*;
import com.zrqx.core.constant.order.OrderRequestPath;
import com.zrqx.core.enums.order.OrderStatusEnum;
......@@ -97,7 +92,7 @@ public class OrderController {
@ApiOperation("根据订单id取消订单")
@PostMapping(OrderRequestPath.CANCEL_ORDER)
public CallBack<Boolean> cancelOrder(Integer orderId){
public CallBack<Boolean> cancelOrder(@RequestParam Integer orderId){
return CallBack.success(orderService.cancelOrder(orderId));
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论