记得上下班打卡 | git大法好,push需谨慎

Commit a5b3cb90 authored by 张国柄's avatar 张国柄

fix;

parent 387db323
...@@ -24,25 +24,25 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -24,25 +24,25 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("refund") @RequestMapping("refund")
public class OrderRefundOvertimeController { public class OrderRefundOvertimeController {
@Autowired // @Autowired
private OrderRefundOvertimeServiceImpl orderRefundOvertimeServiceImpl; // private OrderRefundOvertimeServiceImpl orderRefundOvertimeServiceImpl;
//
@PostMapping("apply") // @PostMapping("apply")
@ApiOperation("超时退款") // @ApiOperation("超时退款")
@ApiImplicitParams({ // @ApiImplicitParams({
@ApiImplicitParam(type = "body", dataType = "String", name = "orderTicketsId", value = "订单ID", required = true), // @ApiImplicitParam(type = "body", dataType = "String", name = "orderTicketsId", value = "订单ID", required = true),
}) // })
public Boolean refundApply(@RequestParam() String orderTicketsId) { // public Boolean refundApply(@RequestParam() String orderTicketsId) {
try { // try {
Boolean res = orderRefundOvertimeServiceImpl.refundApply(orderTicketsId); // Boolean res = orderRefundOvertimeServiceImpl.refundApply(orderTicketsId);
if (res) { // if (res) {
return true; // return true;
} else { // } else {
return false; // return false;
} // }
} catch (Exception e) { // } catch (Exception e) {
return false; // return false;
} // }
} // }
} }
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