无关风月
2024-08-06 376f2ba621d10592d6bd5a5d4f33f56d8f0eaa1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.ruoyi.other.controller;
 
 
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>
 *  前端控制器
 * </p>
 *
 * @author 无关风月
 * @since 2024-08-06
 */
@RestController
@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();
    }
}