Commit 8015819f by 张洪涛

查询订单的修改请求方式

parent 07875d06
...@@ -32,7 +32,7 @@ public class OrdersController { ...@@ -32,7 +32,7 @@ public class OrdersController {
private OrdersService ordersService; private OrdersService ordersService;
@ApiOperation("获取订单的商品信息") @ApiOperation("获取订单的商品信息")
@PostMapping("/getOrder") @GetMapping("/getOrder")
@ResponseBody @ResponseBody
public BaseResponse getOrder(@RequestParam("orderId") String orderId){ public BaseResponse getOrder(@RequestParam("orderId") String orderId){
if (orderId == null){ if (orderId == null){
...@@ -64,8 +64,4 @@ public class OrdersController { ...@@ -64,8 +64,4 @@ public class OrdersController {
} }
} }
} }
...@@ -13,9 +13,11 @@ ...@@ -13,9 +13,11 @@
package com.freemud.Mapper; package com.freemud.Mapper;
import com.freemud.dto.OrderProductDTO; import com.freemud.dto.OrderProductDTO;
import org.springframework.stereotype.Component;
import java.util.List; import java.util.List;
@Component
public interface OrderProductMapper { public interface OrderProductMapper {
List<OrderProductDTO> getOrderProductDTOByOrderId(String orderId); List<OrderProductDTO> getOrderProductDTOByOrderId(String orderId);
......
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