Commit 70f108dd by 徐高华

Merge remote-tracking branch 'origin/master_xgh_0202' into developer

Conflicts:
	haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/MaterialServiceImpl.java
parents b2a58df1 e02f8168
......@@ -218,13 +218,13 @@ public class MaterialServiceImpl implements MaterialService {
// 朋友圈上传接口
if (type == 2) {
if(url.contains("?")) {
}else {
url+= "?imageView2/2/w/1440/h/1080" ;
logger.info("url有参数={}",url);
url = url.split("\\?")[0] ;
}
url+= "?imageView2/2/w/1440/h/1080" ;
logger.info("url={}",url);
jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), config.getWxSuiteid(), CommonUtil.getFileByte(url), arr[count - 1], fileType.getCode());
}
logger.info("url={}",url);
jp = qywxSuiteApiService.uploadAttachment(qwDTO.getThirdCorpid(), config.getWxSuiteid(), CommonUtil.getFileByte(url), arr[count - 1], fileType.getCode());
}else {
// 群发上传
jp = qywxSuiteApiService.uploadMedia(qwDTO.getThirdCorpid(), config.getWxSuiteid(), CommonUtil.getFileByte(url), arr[count - 1], fileType.getCode());
......
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