文件上传更改
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run
This commit is contained in:
parent
8b6a2d6b06
commit
b1a321a3e2
@ -53,6 +53,7 @@ public class KnowledgeController {
|
||||
@Operation(summary = "创建知识发布")
|
||||
@PreAuthorize("@ss.hasPermission('bpm:knowledge:create')")
|
||||
public CommonResult<Long> createKnowledge(@Valid @RequestBody KnowledgeSaveReqVO createReqVO) {
|
||||
System.out.println("createReqVO"+createReqVO);
|
||||
// return success(knowledgeService.createKnowledge(createReqVO));
|
||||
return success(knowledgeService.createKnowledge(getLoginUserId(),createReqVO));
|
||||
}
|
||||
@ -61,6 +62,7 @@ public class KnowledgeController {
|
||||
@Operation(summary = "更新知识发布")
|
||||
@PreAuthorize("@ss.hasPermission('bpm:knowledge:update')")
|
||||
public CommonResult<Boolean> updateKnowledge(@Valid @RequestBody KnowledgeSaveReqVO updateReqVO) {
|
||||
System.out.println("updateReqVO"+updateReqVO);
|
||||
knowledgeService.updateKnowledge(updateReqVO);
|
||||
return success(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user