无关风月
2024-12-31 0c51a577db337520452022d9d6a22b720ef858d4
xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/management/MgtTagController.java
@@ -1,8 +1,9 @@
package com.xinquan.controller;
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;
/**
@@ -13,9 +14,29 @@
 * @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);
    }*/
}