Commit 348a5271 by 徐高华

素材

parent 6eb324c6
......@@ -174,9 +174,6 @@ public class MaterialServiceImpl implements MaterialService {
if (type == 4) {
fileType = QywxMediaTypeEnum.VIDEO;
url = old.getLink();
if(from == 2) {
url = entity.getImgUrl() ;
}
}
if (type == 5) {
fileType = QywxMediaTypeEnum.FILE;
......@@ -189,6 +186,9 @@ public class MaterialServiceImpl implements MaterialService {
logger.error("materialId无类型,materialId:{}", materialId);
return "";
}
if(from == 2) {
url = entity.getImgUrl() ;
}
String[] arr = url.split("/");
int count = arr.length;
JSONResponse jp = null ;
......
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