|
@ -1035,18 +1035,6 @@ public class ConsultController extends EnvelopRestEndpoint {
|
|
|
log.setType(type);
|
|
|
logs.add(log);
|
|
|
} else if (type == 2) {
|
|
|
if (!"laprod".equals(springProfile)) {
|
|
|
// 图片消息 -获取微信服务器图片
|
|
|
// content = fetchWxImages();
|
|
|
String path = null;//这边后面在搬
|
|
|
// 将临时图片拷贝到正式存储路径下
|
|
|
if (StringUtils.isNotEmpty(content)) {
|
|
|
content = CommonUtil.copyTempImage(content);
|
|
|
}
|
|
|
if (StringUtils.isEmpty(content)) {
|
|
|
return error(-1, "图片上传失败!");
|
|
|
}
|
|
|
}
|
|
|
String[] images = content.split(",");
|
|
|
for (String image : images) {
|
|
|
ConsultTeamLogDo log = new ConsultTeamLogDo();
|