|
@@ -0,0 +1,25 @@
|
|
|
+package com.rongwei.zhsw.system.controller;
|
|
|
+
|
|
|
+
|
|
|
+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.*;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("/swRefundRequestRecord")
|
|
|
+public class SwRefundRequestRecordController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ SwRefundRequestRecordService swRefundRequestRecordService;
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping("/refundApplication")
|
|
|
+ @ResponseBody
|
|
|
+ public R refundApplication(@RequestBody Map<String, Object> map) throws Exception {
|
|
|
+ swRefundRequestRecordService.refundApplication(map.get("id").toString());
|
|
|
+ return R.ok();
|
|
|
+ }
|
|
|
+}
|