|
|
@@ -46,8 +46,7 @@ import java.util.List;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
@RestController
|
|
|
-//@RequestMapping("/p/myOrder")
|
|
|
-@RequestMapping("/myOrder")
|
|
|
+@RequestMapping("/p/myOrder")
|
|
|
@Api(tags = "我的订单接口")
|
|
|
@AllArgsConstructor
|
|
|
public class MyOrderController {
|
|
|
@@ -82,9 +81,7 @@ public class MyOrderController {
|
|
|
@ApiOperation(value = "订单详情信息", notes = "根据订单号获取订单详情信息")
|
|
|
@ApiImplicitParam(name = "orderNumber", value = "订单号", required = true, dataType = "String")
|
|
|
public ResponseEntity<OrderShopDto> orderDetail(@RequestParam(value = "orderNumber", required = true) String orderNumber) {
|
|
|
- System.out.println("---------------111");
|
|
|
-// String userId = SecurityUtils.getUser().getUserId();
|
|
|
- String userId = "ecf5703f3e284f7fa0845244be4018fc";
|
|
|
+ String userId = SecurityUtils.getUser().getUserId();
|
|
|
// String userId = "1";
|
|
|
OrderShopDto orderShopDto = new OrderShopDto();
|
|
|
|