|
@@ -0,0 +1,46 @@
|
|
|
+package com.fdkankan.manage.controller;
|
|
|
+
|
|
|
+
|
|
|
+import com.fdkankan.manage.common.ResultData;
|
|
|
+import com.fdkankan.manage.entity.AgentAudit;
|
|
|
+import com.fdkankan.manage.entity.RtkInfo;
|
|
|
+import com.fdkankan.manage.service.IAgentAuditService;
|
|
|
+import com.fdkankan.manage.service.IRtkInfoService;
|
|
|
+import com.fdkankan.manage.vo.request.AgentAuditListParam;
|
|
|
+import com.fdkankan.manage.vo.request.RtkInfoParam;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 经销商申请管理
|
|
|
+ * @author
|
|
|
+ * @since 2022-09-21
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/service/manage/rtkInfo")
|
|
|
+public class RtkInfoController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ IRtkInfoService rtkInfoService;
|
|
|
+
|
|
|
+ @PostMapping("/list")
|
|
|
+ public ResultData list(@RequestBody RtkInfoParam param){
|
|
|
+ return ResultData.ok(rtkInfoService.pageList(param));
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/saveOrEdit")
|
|
|
+ public ResultData saveOrEdit(@RequestBody RtkInfo rtkInfo){
|
|
|
+ rtkInfoService.saveOrEdit(rtkInfo);
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/del")
|
|
|
+ public ResultData del(@RequestBody RtkInfo rtkInfo){
|
|
|
+ rtkInfoService.del(rtkInfo);
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|