Commit 2b7c04c8 authored by wangzb's avatar wangzb

feature-wzb :bug修复

parent 64f28b46
...@@ -8,6 +8,7 @@ import io.swagger.v3.oas.annotations.media.Schema; ...@@ -8,6 +8,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping; 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.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -37,7 +38,7 @@ public class EkpOrderController { ...@@ -37,7 +38,7 @@ public class EkpOrderController {
*/ */
@Schema(description = "接收处理ekp订单") @Schema(description = "接收处理ekp订单")
@PostMapping(value = "/receiveOrder") @PostMapping(value = "/receiveOrder")
public R receiveOrder(OrderAddVO vo) throws IOException { public R receiveOrder(@RequestBody OrderAddVO vo) throws IOException {
return tOrderService.receiveOrder(vo); return tOrderService.receiveOrder(vo);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment