6 changed files with 132 additions and 1 deletions
@ -0,0 +1,50 @@ |
|||
package com.elink.esua.epdc.controller; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.dto.form.EpdcDeptInfoFormDTO; |
|||
import com.elink.esua.epdc.dto.result.EpdcDeptInfoResultDTO; |
|||
import com.elink.esua.epdc.dto.result.EpdcModuleResultDTO; |
|||
import com.elink.esua.epdc.service.CustomService; |
|||
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 java.util.List; |
|||
|
|||
/** |
|||
* 移动端接口-自定义模块 \com\elink\esua\epdc\controller\ApiCustomInfoController.java |
|||
* @author zhangyong |
|||
* @Date 2020/05/20 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("custom") |
|||
public class ApiCustomInfoController { |
|||
|
|||
@Autowired |
|||
private CustomService customService; |
|||
|
|||
/* |
|||
* 移动端获取 了解锦水-模块管理接口 |
|||
* @param |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.result.EpdcModuleResultDTO>> |
|||
* @Author zhangyong |
|||
* @Date 13:37 2020-05-20 |
|||
**/ |
|||
@GetMapping("module/list") |
|||
public Result<List<EpdcModuleResultDTO>> listModule() { |
|||
return customService.listModule(); |
|||
} |
|||
|
|||
/** |
|||
* 移动端获取 了解锦水-硬核管理接口 |
|||
* @param formDTO |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.result.EpdcDeptInfoResultDTO>> |
|||
* @Author zhangyong |
|||
* @Date 13:41 2020-05-20 |
|||
**/ |
|||
@GetMapping("deptinfo/list") |
|||
public Result<List<EpdcDeptInfoResultDTO>> listDeptInfo(EpdcDeptInfoFormDTO formDTO) { |
|||
return customService.listDeptInfo(formDTO); |
|||
} |
|||
} |
Loading…
Reference in new issue