Commit fc76f2ae by 徐高华

Merge branch 'master_xgh_0202' into 'master'

朋友圈

See merge request !926
parents 0fa0d010 e02f8168
...@@ -217,10 +217,10 @@ public class MaterialServiceImpl implements MaterialService { ...@@ -217,10 +217,10 @@ public class MaterialServiceImpl implements MaterialService {
if(from==2) { if(from==2) {
// 朋友圈上传接口 // 朋友圈上传接口
if(url.contains("?")) { if(url.contains("?")) {
logger.info("url有参数={}",url);
}else { url = url.split("\\?")[0] ;
url+= "?imageView2/2/w/1440/h/1080" ;
} }
url+= "?imageView2/2/w/1440/h/1080" ;
logger.info("url={}",url); logger.info("url={}",url);
jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), config.getWxSuiteid(), CommonUtil.getFileByte(url), arr[count - 1], fileType.getCode()); jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), config.getWxSuiteid(), CommonUtil.getFileByte(url), arr[count - 1], fileType.getCode());
}else { }else {
......
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