Commit 8015819f by 张洪涛

查询订单的修改请求方式

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