|
@ -624,16 +624,7 @@ public class ConsultController extends WeixinBaseController {
|
|
|
logs.add(log);
|
|
|
}else if (type == 2) {
|
|
|
// 图片消息
|
|
|
if (StringUtils.isEmpty(content)) {
|
|
|
String images = request.getParameter("mediaIds");
|
|
|
|
|
|
if (!StringUtils.isEmpty(images)) {
|
|
|
arr = images.split(",");
|
|
|
}
|
|
|
} else {
|
|
|
arr = content.split(",");
|
|
|
}
|
|
|
|
|
|
content = fetchWxImages();
|
|
|
// 将临时图片拷贝到正式存储路径下
|
|
|
if (StringUtils.isNotEmpty(content)) {
|
|
|
content = CommonUtil.copyTempImage(content);
|