Commit c11f2eaa by 徐高华

test

parent c4bf90a3
......@@ -268,6 +268,7 @@ public class MaterialServiceImpl implements MaterialService {
}
jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), url, arr[count - 1], fileType.getCode() , selfFlag , qwDTO.getUrlHost());
}else {
int i = 1/0 ;
// 群发上传
if(!url.contains("?")) {
if(type == 2) {
......
......@@ -568,6 +568,12 @@ public class MaterialApiServiceImpl implements MaterialApiService {
@Override
public List<String> getImageMediaId(String wxEnterpriseId, List<ContentMaterialDTO> imageList, int mediaType) {
return this.materialService.getImageMediaId(wxEnterpriseId, imageList, mediaType);
List<String> list = this.materialService.getImageMediaId(wxEnterpriseId, imageList, mediaType);
if(CollectionUtils.isNotEmpty(list)) {
list.forEach(materialId -> {
materialService.getHasChangeMadieMaterialById(materialId, 2);
}) ;
}
return list ;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment