7 changed files with 96 additions and 1 deletions
@ -0,0 +1,42 @@ |
|||
package com.elink.esua.epdc.modules.organize.controller.v2; |
|||
|
|||
import com.elink.esua.epdc.commons.api.version.ApiVersion; |
|||
import com.elink.esua.epdc.commons.tools.constant.Constant; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.dto.epdc.result.EpdcAppIndexPanelResultDTO; |
|||
import com.elink.esua.epdc.dto.organize.result.StreetListResultDTO; |
|||
import com.elink.esua.epdc.dto.user.result.EpdcAppChildNavResultDTO; |
|||
import com.elink.esua.epdc.modules.organize.service.HomeService; |
|||
import com.elink.esua.epdc.modules.organize.service.MetaSysDeptService; |
|||
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; |
|||
|
|||
/** |
|||
* @author songyunpeng |
|||
* @Description 街道结构列表和首页权限 |
|||
* @create 2020-03-10 |
|||
*/ |
|||
@ApiVersion(2) |
|||
@RestController |
|||
@RequestMapping("home" + Constant.VERSION_CONTROL) |
|||
public class HomeV2Controller { |
|||
|
|||
@Autowired |
|||
private HomeService homeService; |
|||
|
|||
/** |
|||
* 数据端获取用户首页按钮权限 |
|||
* |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcAppIndexPanelResultDTO>> |
|||
* @author work@yujt.net.cn |
|||
* @date 2020/9/2 09:23 |
|||
*/ |
|||
@GetMapping("getIndexPanel") |
|||
public Result<List<EpdcAppIndexPanelResultDTO>> getIndexPanel() { |
|||
return homeService.getIndexPanelV2(); |
|||
} |
|||
} |
Loading…
Reference in new issue