diff --git a/esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/form/EpdcAppImgTypeListFormDTO.java b/esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/form/EpdcAppImgTypeListFormDTO.java new file mode 100644 index 00000000..4205506a --- /dev/null +++ b/esua-epdc/epdc-module/epdc-api/epdc-api-client/src/main/java/com/elink/esua/epdc/dto/form/EpdcAppImgTypeListFormDTO.java @@ -0,0 +1,43 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *
+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *
+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see > getImgUrlList(@PathVariable("imgType") String imgType){
return imgConfigService.listImgUrl(imgType);
}
+ /**
+ * 根据 志愿者模块图片类型 查询图片列表
+ * @param epdcAppImgTypeListFormDTO 志愿者模块图片类型
+ * @return com.elink.esua.epdc.commons.tools.utils.Result
> getImgUrlList(EpdcAppImgTypeListFormDTO epdcAppImgTypeListFormDTO){
+ return imgConfigService.listImgUrlByTypeList(epdcAppImgTypeListFormDTO);
+ }
}
diff --git a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/ImgConfigService.java b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/ImgConfigService.java
index d5eea760..fa95cdb1 100644
--- a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/ImgConfigService.java
+++ b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/ImgConfigService.java
@@ -22,6 +22,7 @@ import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.dto.ImgConfigDTO;
import com.elink.esua.epdc.dto.SysSimpleDictDTO;
+import com.elink.esua.epdc.dto.form.EpdcAppImgTypeListFormDTO;
import com.elink.esua.epdc.dto.result.EpdcImgConfigResultDTO;
import com.elink.esua.epdc.entity.ImgConfigEntity;
@@ -114,4 +115,12 @@ public interface ImgConfigService extends BaseService
> listImgUrl(String imgType);
+ /**
+ * @Description 根据 志愿者模块图片类型列表 查询图片列表
+ * @Author songyunpeng
+ * @Date 2021/5/14
+ * @Param [epdcAppImgTypeListFormDTO]
+ * @return com.elink.esua.epdc.commons.tools.utils.Result
> listImgUrlByTypeList(EpdcAppImgTypeListFormDTO epdcAppImgTypeListFormDTO);
}
diff --git a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/impl/ImgConfigServiceImpl.java b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/impl/ImgConfigServiceImpl.java
index 13d0f3f5..03341cb9 100644
--- a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/impl/ImgConfigServiceImpl.java
+++ b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/service/impl/ImgConfigServiceImpl.java
@@ -27,6 +27,7 @@ import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.dao.ImgConfigDao;
import com.elink.esua.epdc.dto.ImgConfigDTO;
import com.elink.esua.epdc.dto.SysSimpleDictDTO;
+import com.elink.esua.epdc.dto.form.EpdcAppImgTypeListFormDTO;
import com.elink.esua.epdc.dto.result.EpdcImgConfigResultDTO;
import com.elink.esua.epdc.entity.ImgConfigEntity;
import com.elink.esua.epdc.feign.AdminFeignClient;
@@ -117,4 +118,14 @@ public class ImgConfigServiceImpl extends BaseServiceImpl
> listImgUrlByTypeList(EpdcAppImgTypeListFormDTO epdcAppImgTypeListFormDTO) {
+ QueryWrapper
>().ok(epdcImgConfigResultDTOS;
+ }
+
}