init
parent
8f5bf9f49b
commit
3d6e28670e
@ -0,0 +1,48 @@
|
|||||||
|
package com.supervision.knowsub.controller.knowledge;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
|
@RestController
|
||||||
|
@Tag(name = "知识库查询")
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
@RequestMapping("knowledge")
|
||||||
|
public class KnowledgeController {
|
||||||
|
|
||||||
|
@Operation(summary = "查询知识库分页")
|
||||||
|
@GetMapping("queryKnowledgePage")
|
||||||
|
public void queryKnowledgePage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "新增知识库")
|
||||||
|
@PostMapping("saveKnowledge")
|
||||||
|
public void saveKnowledge() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "修改知识库")
|
||||||
|
@PostMapping("updateKnowledge")
|
||||||
|
public void updateKnowledge() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "删除知识库")
|
||||||
|
@GetMapping("deleteKnowledge")
|
||||||
|
public void deleteKnowledge() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "查询知识库流转记录")
|
||||||
|
@GetMapping("queryKnowledgeFlowRecord")
|
||||||
|
public void queryKnowledgeFlowRecord(String knowledgeId){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue