Commit e4d6a38d by huluobin

update

parent 59092f35
......@@ -339,6 +339,7 @@ public class MallOrderServiceImpl extends ServiceImpl<MallOrderMapper, MallOrder
throw new RRException(500, "订单状态异常");
}
mallOrder.setStatus(MallOrder.STATUS_SIGNED);
mallOrderMapper.updateById(mallOrder);
}
}
......@@ -58,7 +58,7 @@ public class MallOrderController {
@ApiOperation("订单确认收货")
@GetMapping("/customer/mallOrder/takeDeliveryOfMallOrder")
public JsonResult<Integer> takeDeliveryOfMallOrder(@RequestHeader String token,
@PathVariable Long mallOrderId) {
@RequestParam Long mallOrderId) {
Integer currentCustomerId = SessionUtils.getCustomerId();
mallOrderService.takeDeliveryOfMallOrder(currentCustomerId, mallOrderId);
return JsonResult.success();
......
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