Prechádzať zdrojové kódy

修改 删除多余的接口

huZhiHao 6 rokov pred
rodič
commit
cabc572cf8

+ 0 - 54
src/main/java/platform/modules/api/web/FGJFilingContriller.java

@@ -1,54 +0,0 @@
-package platform.modules.api.web;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-import platform.modules.api.dto.DepartmentDto;
-import platform.modules.api.dto.UserInfoDto;
-import platform.modules.api.dto.UserRoleDto;
-import platform.modules.government.entity.User;
-import platform.modules.government.service.UserService;
-import platform.modules.sys.entity.Department;
-import platform.modules.sys.service.DepartmentService;
-import platform.modules.sys.service.UserRoleService;
-import platform.modules.sys.web.ResponseMessage;
-
-import java.util.List;
-
-/**
- * @author kevin
- * @since 2019/3/7 9:58 AM
- */
-@RestController
-//@RequestMapping("/filing/api")
-public class FGJFilingContriller {
-
-    @Autowired
-    private UserService userService;
-
-    @Autowired
-    private DepartmentService departmentService;
-
-    @Autowired
-    private UserRoleService userRoleService;
-
-    @GetMapping("userInfo/getUserInfoList")
-    public Object getUsetList(Integer departmentId){
-        List<UserInfoDto> userList = userService.findAllUsers(departmentId);
-
-        return ResponseMessage.success("success", userList);
-    }
-
-    @GetMapping("department/getDepartmentList")
-    public Object getDepartmentList(){
-        List<DepartmentDto> departments = departmentService.findDepartmentList();
-        return ResponseMessage.success("success", departments);
-    }
-
-    @GetMapping("userRole/getUserRoleList")
-    public Object getUserRoleList(){
-        List<UserRoleDto> userInfoDtos = userRoleService.findUserRoleList();
-        return ResponseMessage.success("success", userInfoDtos);
-    }
-}

+ 7 - 7
src/main/resources/application.yml

@@ -15,13 +15,13 @@ spring:
   #激活哪一个环境的配置文件
   profiles:
 
-  #  active: dev
-  #    active: test
-      active: aliyun
-  #    active: vpn
-  #    active: prod_in
-  #    active: prod_out
-  #    active: prod_test
+#    active: dev
+#    active: test
+    active: aliyun
+#    active: vpn
+#    active: prod_in
+#    active: prod_out
+#    active: prod_test
 
   #数据源
   datasource: