Commit f5b7eac8 by 徐高华

群发素材像素太大bug

parent a2bc2d8f
...@@ -269,6 +269,10 @@ public class MaterialServiceImpl implements MaterialService { ...@@ -269,6 +269,10 @@ public class MaterialServiceImpl implements MaterialService {
jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), url, arr[count - 1], fileType.getCode() , selfFlag , qwDTO.getUrlHost()); jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), url, arr[count - 1], fileType.getCode() , selfFlag , qwDTO.getUrlHost());
}else { }else {
// 群发上传 // 群发上传
if(!url.contains("?")) {
url += "?imageView2/2/w/1080/h/10800/format/jpg";
logger.info("url={}",url);
}
jp = qywxSuiteApiService.uploadMedia(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), url, arr[count - 1], fileType.getCode() , selfFlag , qwDTO.getUrlHost()); jp = qywxSuiteApiService.uploadMedia(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), url, arr[count - 1], fileType.getCode() , selfFlag , qwDTO.getUrlHost());
} }
if (jp.getErrorCode() == 0) { if (jp.getErrorCode() == 0) {
......
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