소스 검색

权限修改

wangfeng 5 년 전
부모
커밋
2299e01a8d
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      knowledgeman-service/src/main/java/com/diagbot/web/DiagnoseQuestionController.java

+ 3 - 2
knowledgeman-service/src/main/java/com/diagbot/web/DiagnoseQuestionController.java

@@ -4,6 +4,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.bind.annotation.RestController;
 
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -24,8 +25,8 @@ import io.swagger.annotations.ApiOperation;
  * @author zhoutg
  * @author zhoutg
  * @since 2019-08-08
  * @since 2019-08-08
  */
  */
-
-@RestController("/diagnoseQuestion")
+@RestController
+@RequestMapping("/diagnoseQuestion")
 @Api(value = "知识库标准化-问题词数据维护相关API[by:wangfeng]", tags = { "知识库标准化-问题词数据维护相关API——WF" })
 @Api(value = "知识库标准化-问题词数据维护相关API[by:wangfeng]", tags = { "知识库标准化-问题词数据维护相关API——WF" })
 public class DiagnoseQuestionController {
 public class DiagnoseQuestionController {