Commit 18774547 by 徐高华

Merge branch 'feature/xgh/202504会员分组' into 'developer'

群发素材像素太大bug

See merge request !2854
parents bc0a3907 f5b7eac8
......@@ -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());
}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());
}
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