|
|
@ -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; |
|
|
|
|
|
|
@ -31,8 +30,8 @@ public class ApiResidentConfigController { |
|
|
|
* @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){ |
|
|
|
@GetMapping("getResidentConfig") |
|
|
|
public Result<List<ResidentConfigResultDTO>> getImgUrlList(String residentType){ |
|
|
|
return residentConfigService.listResidentConfig(residentType); |
|
|
|
} |
|
|
|
} |
|
|
|