| | |
| | | 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> |
| | |
| | | * @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(); |
| | | } |
| | | } |
| | | |