@ -93,6 +93,7 @@ public class SearchController {
SearchCategoryDTO searchCategoryDTO = new SearchCategoryDTO();
BeanUtils.copyProperties(tag, searchCategoryDTO);
searchCategoryDTO.setImage(Constants.TAG_RESOURCE_PREFIX + tag.getImage());
searchCategoryDTO.setThumbnail(Constants.TAG_RESOURCE_PREFIX + tag.getThumbnail());
return searchCategoryDTO;
}
@ -13,6 +13,8 @@ public class SearchCategoryDTO {
private String nameEn;
@ApiModelProperty(value = "图片路径")
private String image;
@ApiModelProperty(value = "缩略图路径")
private String thumbnail;
@ApiModelProperty(value = "说明文案")
private String description;
@ -65,6 +65,10 @@ public class Tag implements Serializable {
* 图片路径
*/
/**
* 缩略图路径
* 创建人用户ID