package com.linghu.controller;
|
|
import com.linghu.service.SectionalizationService;
|
import com.linghu.service.UserService;
|
import io.swagger.annotations.Api;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@RestController
|
@RequestMapping("/sectionalization")
|
@Api(value = "分组相关接口", tags = "设置-账号管理-分组")
|
public class SectionalizationController {
|
@Autowired
|
private SectionalizationService sectionalizationService;
|
|
/*
|
@PostMapping
|
@ApiOperation(value = "添加类型")
|
public ResponseResult<User> add(@RequestBody User user) {
|
boolean success = typeService.save(type);
|
if (success) {
|
return ResponseResult.success(type);
|
}
|
return ResponseResult.error("添加类型失败");
|
}
|
*/
|
|
/**
|
* 新增分组
|
*/
|
|
/**
|
* 修改分组
|
*/
|
|
|
/**
|
* 删除分组
|
*/
|
|
/**
|
* 分组列表
|
*/
|
|
}
|