puzhibing
2025-01-11 f18a802137a7642473891f6886d44cf0c229efed
ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/RefundPassController.java
@@ -98,14 +98,14 @@
   
   
   @ResponseBody
   @PutMapping("/deliverGoodsRefundPass/{id}/{code}")
   @PostMapping("/deliverGoodsRefundPass")
   @ApiOperation(value = "售后已发货操作", tags = {"我的订单-个人中心-小程序"})
   @ApiImplicitParams({
         @ApiImplicitParam(name = "id", value = "售后数据id", required = true, dataType = "long"),
         @ApiImplicitParam(name = "code", value = "快递单号", required = true, dataType = "string"),
   })
   public R deliverGoodsRefundPass(@PathVariable("id") Long id, @PathVariable("code") String code){
      RefundPass refundPass = refundPassService.getById(id);
   public R deliverGoodsRefundPass(@RequestBody DeliverGoodsRefundPass pass){
      RefundPass refundPass = refundPassService.getById(pass.getId());
      if(null == refundPass){
         return R.fail();
      }
@@ -118,7 +118,7 @@
         return R.fail("操作失败");
      }
      refundPass.setStatus(5);
      refundPass.setCode(code);
      refundPass.setCode(pass.getCode());
      refundPassService.updateById(refundPass);
      return R.ok();
   }