mitao
2024-08-24 403fbe8fa8d3df96d692ad41ffa1c300b0db5493
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.xinquan.user.controller.management;
 
import com.xinquan.user.service.TagService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 * 标签表 前端控制器
 * </p>
 *
 * @author mitao
 * @since 2024-08-21
 */
@Api(value = "管理后台接口", tags = "管理后台接口")
@RestController
@RequestMapping("/mgt/tag")
@RequiredArgsConstructor
public class MgtTagController {
 
    private final TagService tagService;
 
/*    @ApiOperation(value = "添加用户标签")
    @PostMapping("save")
    public AjaxResult save(@RequestBody Tag tag) {
        tagService.save(tag);
        return AjaxResult.success();
    }
 
    @ApiOperation(value = "获取用户标签")
    @GetMapping("/{id}")
    @ApiParam(value = "标签id")
    public AjaxResult save(@PathVariable("id") Long id) {
 
        Tag byId = tagService.getById(id);
        return AjaxResult.success(byId);
    }*/
 
}