7 changed files with 128 additions and 51 deletions
@ -0,0 +1,40 @@ |
|||
package com.elink.esua.epdc.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.*; |
|||
import com.elink.esua.epdc.service.WorkUserService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 工作端,用户登录,用户管理相关接口 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/11/18 10:45 |
|||
*/ |
|||
@ApiVersion(2) |
|||
@RestController |
|||
@RequestMapping("work/user" + Constant.VERSION_CONTROL) |
|||
public class ApiWorkUserV2Controller { |
|||
|
|||
@Autowired |
|||
private WorkUserService workUserService; |
|||
|
|||
/** |
|||
* 首页面板 获取工作端APP菜单 |
|||
* |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcIndexPanelResultDTO>> |
|||
* @Author yinzuomei |
|||
* @Date 2019/11/20 10:42 |
|||
**/ |
|||
@GetMapping("indexPanel") |
|||
public Result<List<EpdcAppIndexPanelResultDTO>> indexPanel() { |
|||
return workUserService.indexPanelV2(); |
|||
} |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue