瀏覽代碼

Style: hook controller 改名

370774330@qq.com 5 年之前
父節點
當前提交
35b3f51435
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/src/main/java/cn/seecoder/web/controller/gitlab/CommitController.java

+ 2 - 2
web/src/main/java/cn/seecoder/web/controller/gitlab/HookController.java → web/src/main/java/cn/seecoder/web/controller/gitlab/CommitController.java

@@ -27,7 +27,7 @@ import java.util.List;
  */
 @Api(tags = "GitLab Hook API")
 @RestController
-public class HookController {
+public class CommitController {
 
     private final BugListService bugListService;
 
@@ -38,7 +38,7 @@ public class HookController {
     private final SeecoderGitlabApi seecoderGitlabApi;
 
     @Autowired
-    public HookController(BugListService bugListService, TreeNodeService treeNodeService, CommitService commitService, SeecoderGitlabApi seecoderGitlabApi) {
+    public CommitController(BugListService bugListService, TreeNodeService treeNodeService, CommitService commitService, SeecoderGitlabApi seecoderGitlabApi) {
         this.bugListService = bugListService;
         this.treeNodeService = treeNodeService;
         this.commitService = commitService;