1 changed files with 37 additions and 0 deletions
@ -0,0 +1,37 @@ |
|||
package com.elink.esua.epdc.modules.api.controller; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.dto.result.ResidentConfigResultDTO; |
|||
import com.elink.esua.epdc.modules.api.service.ResidentConfigService; |
|||
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; |
|||
|
|||
/** |
|||
* APP 获取居民端配置 |
|||
* |
|||
* @author zhangyong |
|||
* @date 2020/05/27 18:30 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("work/residentConfig") |
|||
public class ApiWorkResidentConfigController { |
|||
|
|||
@Autowired |
|||
private ResidentConfigService residentConfigService; |
|||
|
|||
/** |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.result.ResidentConfigResultDTO>> |
|||
* @Description 获取小程序端配置 |
|||
* @Author songyunpeng |
|||
* @Date 2020/6/9 |
|||
* @Param [residentType] |
|||
**/ |
|||
@GetMapping("swagger/getResidentConfig") |
|||
public Result<List<ResidentConfigResultDTO>> getImgUrlList(String residentType) { |
|||
return residentConfigService.listResidentConfig(residentType); |
|||
} |
|||
} |
Loading…
Reference in new issue