5 changed files with 113 additions and 8 deletions
@ -0,0 +1,48 @@ |
|||||
|
package com.elink.esua.epdc.controller; |
||||
|
|
||||
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
||||
|
import com.elink.esua.epdc.commons.tools.annotation.LoginUser; |
||||
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
||||
|
import com.elink.esua.epdc.dto.AppMemberListFromDTO; |
||||
|
import com.elink.esua.epdc.service.AdminService; |
||||
|
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; |
||||
|
|
||||
|
/** |
||||
|
* 居民端-网格队伍 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("sys/gridMember") |
||||
|
public class ApiGridMemberController { |
||||
|
|
||||
|
@Autowired |
||||
|
private AdminService adminService; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* @describe: 居民端-网格队伍-社区介绍 |
||||
|
* @author wangtong |
||||
|
* @date 2021/9/14 16:25 |
||||
|
* @params [userDetail] |
||||
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
||||
|
*/ |
||||
|
@GetMapping("getDeptInfo") |
||||
|
public Result getDeptInfo(@LoginUser TokenDto userDetail){ |
||||
|
return adminService.getDeptInfo(userDetail); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* @describe: 居民端-网格队伍-网格员列表 |
||||
|
* @author wangtong |
||||
|
* @date 2021/9/14 16:29 |
||||
|
* @params [AppMemberListFromDTO] |
||||
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
||||
|
*/ |
||||
|
@GetMapping("getMemberList") |
||||
|
public Result getMemberList(@LoginUser TokenDto userDetail,AppMemberListFromDTO dto){ |
||||
|
return adminService.getMemberList(userDetail,dto); |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue