|
@@ -1,37 +0,0 @@
|
|
|
-package com.rongwei.zhsw.system.controller;
|
|
|
-
|
|
|
-import com.rongwe.zhsw.system.dto.PaymentRequestDTO;
|
|
|
-import com.rongwe.zhsw.system.dto.RefundApplicationDTO;
|
|
|
-import com.rongwei.rwcommon.base.R;
|
|
|
-import com.rongwei.zhsw.system.service.SwRefundRequestRecordService;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
-
|
|
|
-/**
|
|
|
- * 退款申请记录(SwRefundRequestRecord)表控制层
|
|
|
- *
|
|
|
- * @author makejava
|
|
|
- * @since 2025-03-13 17:28:45
|
|
|
- */
|
|
|
-@RestController
|
|
|
-@RequestMapping("/swRefundRequestRecord")
|
|
|
-public class SwRefundRequestRecordController {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private SwRefundRequestRecordService swRefundRequestRecordService;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- @PostMapping("/refundApplication")
|
|
|
- @ResponseBody
|
|
|
- public R refundApplication(@RequestParam("id") String id){
|
|
|
- try {
|
|
|
- return swRefundRequestRecordService.refundApplication(id);
|
|
|
- }catch (Exception e){
|
|
|
- return R.error(e.getMessage());
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-}
|
|
|
-
|