Compare commits
No commits in common. "d48a592e852125bbedb61bdc55ccb56eb1d68cbf" and "8f5486df6747ff418c9b95bafce06d59a656ed14" have entirely different histories.
d48a592e85
...
8f5486df67
|
|
@ -23,7 +23,7 @@ public class EdTagLibraryController {
|
|||
private FileTagRelationService fileTagRelationService;
|
||||
|
||||
// 新建标签组
|
||||
@GetMapping("/createGroup")
|
||||
@PostMapping("/createGroup")
|
||||
@UserOperation(value="创建了标签组", modelName = UserOperationModuleEnum.TAG)
|
||||
public ElectromagneticResult<?> createTagGroup(@RequestParam String tagName) {
|
||||
String createdBy = UserThreadLocal.getUserId();
|
||||
|
|
@ -31,7 +31,7 @@ public class EdTagLibraryController {
|
|||
}
|
||||
|
||||
// 在标签组下新建标签
|
||||
@GetMapping("/createTag")
|
||||
@PostMapping("/createTag")
|
||||
@UserOperation(value="创建了标签", modelName = UserOperationModuleEnum.TAG)
|
||||
public ElectromagneticResult<?> createTag(@RequestParam String parentId, @RequestParam String tagName) {
|
||||
String createdBy = UserThreadLocal.getUserId();
|
||||
|
|
@ -39,7 +39,7 @@ public class EdTagLibraryController {
|
|||
}
|
||||
|
||||
// 拖拽修改排序/分组
|
||||
@GetMapping("/updateOrder")
|
||||
@PostMapping("/updateOrder")
|
||||
@UserOperation(value="修改了标签顺序", modelName = UserOperationModuleEnum.TAG)
|
||||
public ElectromagneticResult<?> updateTagOrder(@RequestParam String tagId, @RequestParam String newParentId, @RequestParam Integer newOrderBy) {
|
||||
String updatedBy = UserThreadLocal.getUserId();
|
||||
|
|
@ -47,7 +47,7 @@ public class EdTagLibraryController {
|
|||
}
|
||||
|
||||
// 发布标签
|
||||
@GetMapping("/batchPublish")
|
||||
@PostMapping("/batchPublish")
|
||||
@UserOperation(value="发布了标签组", modelName = UserOperationModuleEnum.TAG)
|
||||
public ElectromagneticResult<?> publishTag(@RequestParam List<String> tagIds) {
|
||||
return ElectromagneticResultUtil.success(edTagLibraryService.batchPublishTagGroups(tagIds));
|
||||
|
|
@ -68,7 +68,7 @@ public class EdTagLibraryController {
|
|||
}
|
||||
|
||||
// 修改标签组/标签
|
||||
@GetMapping ("/updateTag")
|
||||
@PostMapping ("/updateTag")
|
||||
@UserOperation(value="修改了标签组/标签", modelName = UserOperationModuleEnum.TAG)
|
||||
public ElectromagneticResult<?> updateTag(@RequestParam String tagId, @RequestParam String tagName) {
|
||||
String updatedBy = UserThreadLocal.getUserId();
|
||||
|
|
|
|||
Loading…
Reference in New Issue