From 376f2ba621d10592d6bd5a5d4f33f56d8f0eaa1a Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 06 八月 2024 20:08:00 +0800
Subject: [PATCH] 管理后台代码生成

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
index fd667e3..5fe7e70 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
@@ -1,9 +1,11 @@
 package com.ruoyi.other.controller;
 
 
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.web.bind.annotation.RestController;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.core.domain.R;
+import com.ruoyi.other.api.dto.SaveIntegralDTO;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.*;
 
 /**
  * <p>
@@ -14,8 +16,27 @@
  * @since 2024-08-06
  */
 @RestController
-@RequestMapping("/t-integral-rule")
+@RequestMapping("/integral")
 public class TIntegralRuleController {
-
+    @GetMapping("/getSet")
+    @ApiOperation(value = "获取积分设置")
+    public R<SaveIntegralDTO> getSet() {
+        return R.ok();
+    }
+    @PostMapping("/saveSet")
+    @ApiOperation(value = "保存积分设置")
+    public R saveSet(@RequestBody SaveIntegralDTO dto) {
+        return R.ok();
+    }
+    @PostMapping("/getInfo")
+    @ApiOperation(value = "获取积分说明")
+    public R getInfo() {
+        return R.ok();
+    }
+    @PostMapping("/saveInfo")
+    @ApiOperation(value = "保存积分说明")
+    public R saveInfo() {
+        return R.ok();
+    }
 }
 

--
Gitblit v1.7.1