|
|
@ -117,7 +117,7 @@ public class IcSocietyOrgController implements ResultDataResolver { |
|
|
|
@RequestMapping("detail/{id}") |
|
|
|
public Result detail(@LoginUser TokenDto tokenDto, @PathVariable(value = "id") String id) { |
|
|
|
IcSocietyOrgDTO icSocietyOrgDTO = societyOrgService.get(id); |
|
|
|
if (StringUtils.isNotBlank(icSocietyOrgDTO.getImgUrl())){ |
|
|
|
if (StringUtils.isBlank(icSocietyOrgDTO.getImgUrl())){ |
|
|
|
icSocietyOrgDTO.setImgUrl(DEFAULT_NO_IMG); |
|
|
|
} |
|
|
|
return new Result().ok(icSocietyOrgDTO); |
|
|
|