package com.panzhihua.service_community.service.impl; import javax.annotation.Resource; import com.panzhihua.common.model.vos.community.ComActPictureLibraryVO; import org.springframework.stereotype.Service; import com.panzhihua.common.model.vos.R; import com.panzhihua.service_community.dao.ComActPictureLibraryDAO; import com.panzhihua.service_community.service.ComActPictureLibraryService; /** * @title: ComActPictureLibraryServiceImpl * @projectName: 成都呐喊信息技术有限公司-智慧社区项目 * @description: 公共预设图库服务实现类 * @author: hans * @date: 2021/11/23 17:03 */ @Service public class ComActPictureLibraryServiceImpl implements ComActPictureLibraryService { @Resource private ComActPictureLibraryDAO comActPictureLibraryDAO; /** * 获取预设图库 * @param type * @param subtype * @return */ @Override public R getPresetPictureLibrary(Integer type, Integer subtype) { ComActPictureLibraryVO libraryVO = new ComActPictureLibraryVO(); libraryVO.setPresetPictures(comActPictureLibraryDAO.getPresetPictureLibrary(type, subtype)); return R.ok(libraryVO); } }