|
@@ -4,15 +4,14 @@ package com.redxun.knowledge.controller;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.redxun.common.annotation.ClassDefine;
|
|
|
import com.redxun.common.base.db.BaseService;
|
|
|
-import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
|
|
import com.redxun.common.base.entity.JsonPageResult;
|
|
|
import com.redxun.common.base.entity.JsonResult;
|
|
|
import com.redxun.common.base.entity.QueryData;
|
|
|
import com.redxun.common.base.search.QueryFilter;
|
|
|
import com.redxun.common.base.search.QueryFilterBuilder;
|
|
|
-import com.redxun.common.tool.StringUtils;
|
|
|
import com.redxun.common.utils.ExceptionUtil;
|
|
|
import com.redxun.knowledge.entity.dao.KnowledgeApprove;
|
|
|
+import com.redxun.knowledge.entity.dto.KnowledgeApproveDto;
|
|
|
import com.redxun.knowledge.service.KnowledgeApproveServiceImpl;
|
|
|
import com.redxun.web.controller.BaseController;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -20,10 +19,10 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
-
|
|
|
-import java.util.Arrays;
|
|
|
-import java.util.List;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@Slf4j
|
|
|
@RestController
|
|
@@ -64,6 +63,12 @@ public class KnowledgeApproveController extends BaseController<KnowledgeApprove>
|
|
|
return jsonResult;
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "知识审核")
|
|
|
+ @PostMapping("knowledgeApproveById")
|
|
|
+ public JsonResult knowledgeApproveById(@RequestBody KnowledgeApproveDto knowledgeApproveDto){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|