ZhaoMn 4 роки тому
батько
коміт
d45d60f3eb

+ 1 - 1
railway-admin/src/main/java/com/railway/web/controller/business/app/AppUpgradeController.java

@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
 /**
  * @author zhaomn
  */
-@Api(value = "rest/app", tags = "应用升级 - apk版本升级")
+@Api(value = "rest/app", tags = "应用升级 - apk版本升级")
 @RestController
 @Validated
 @RequestMapping(value = "app/upgrade")

+ 12 - 9
railway-admin/src/main/java/com/railway/web/controller/business/safetool/BaseSafetyToolController.java

@@ -2,20 +2,23 @@ package com.railway.web.controller.business.safetool;
 
 import com.railway.business.safetool.domain.BaseSafetyTool;
 import com.railway.business.safetool.service.IBaseSafetyToolService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.ResponseEntity;
-import org.springframework.validation.annotation.Validated;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.web.bind.WebDataBinder;
 import com.railway.common.core.controller.BaseController;
 import com.railway.common.core.domain.AjaxResult;
 import com.railway.common.core.page.TableDataInfo;
-import javax.validation.Valid;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import java.util.List;
-
 import javax.validation.Valid;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
 
 @Api(value = "rest/safetool/base/safety/tool", tags = "安全工具 - 基础数据")
 @RestController

+ 0 - 5
railway-admin/src/main/java/com/railway/web/controller/business/safetool/SafeToolDemoController.java

@@ -1,5 +0,0 @@
-package com.railway.web.controller.business.safetool;
-
-public class SafeToolDemoController {
-
-}

+ 13 - 10
railway-admin/src/main/java/com/railway/web/controller/business/safetool/SecScheduledToolController.java

@@ -2,22 +2,25 @@ package com.railway.web.controller.business.safetool;
 
 import com.railway.business.safetool.domain.SecScheduledTool;
 import com.railway.business.safetool.service.ISecScheduledToolService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.ResponseEntity;
-import org.springframework.validation.annotation.Validated;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.web.bind.WebDataBinder;
 import com.railway.common.core.controller.BaseController;
 import com.railway.common.core.domain.AjaxResult;
 import com.railway.common.core.page.TableDataInfo;
-import javax.validation.Valid;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import java.util.List;
-
 import javax.validation.Valid;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
-//@Api(value = "rest/safetool/sec/scheduled/tool", tags = "安全计划和工具关系表")
+@Api(value = "rest/safetool/sec/scheduled/tool", tags = "安全计划和工具关系表")
 @RestController
 @Validated
 @RequestMapping(value = "business/safetool/sec/scheduled/tool")

+ 0 - 5
railway-business/src/main/java/com/railway/business/safetool/domain/Demo.java

@@ -1,5 +0,0 @@
-package com.railway.business.safetool.domain;
-
-public class Demo {
-
-}

+ 0 - 5
railway-business/src/main/java/com/railway/business/safetool/mapper/DemoMapper.java

@@ -1,5 +0,0 @@
-package com.railway.business.safetool.mapper;
-
-public class DemoMapper {
-
-}

+ 0 - 5
railway-business/src/main/java/com/railway/business/safetool/service/DemoService.java

@@ -1,5 +0,0 @@
-package com.railway.business.safetool.service;
-
-public class DemoService {
-
-}

+ 0 - 5
railway-business/src/main/java/com/railway/business/safetool/service/impl/DemoServiceImpl.java

@@ -1,5 +0,0 @@
-package com.railway.business.safetool.service.impl;
-
-public class DemoServiceImpl {
-
-}