|
|
|
@ -5,7 +5,6 @@ import com.elink.esua.epdc.dto.result.ResidentConfigResultDTO; |
|
|
|
import com.elink.esua.epdc.service.ResidentConfigService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
@ -25,14 +24,14 @@ public class ApiResidentConfigController { |
|
|
|
private ResidentConfigService residentConfigService; |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 新闻浏览积分有效浏览时长 |
|
|
|
* @Description 获取所有居民端配置 |
|
|
|
* @Author songyunpeng |
|
|
|
* @Date 2020/6/9 |
|
|
|
* @Param [residentType] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.result.ResidentConfigResultDTO>> |
|
|
|
**/ |
|
|
|
@GetMapping("getResidentConfig/{residentType}") |
|
|
|
public Result<List<ResidentConfigResultDTO>> getImgUrlList(@PathVariable("residentType") String residentType){ |
|
|
|
return residentConfigService.listResidentConfig(residentType); |
|
|
|
@GetMapping("getResidentConfig") |
|
|
|
public Result<List<ResidentConfigResultDTO>> getImgUrlList(){ |
|
|
|
return residentConfigService.listResidentConfig(); |
|
|
|
} |
|
|
|
} |
|
|
|
|