|
@ -1122,7 +1122,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
|
|
|
//避免前端上传图片失败还传递失败信息到后台
|
|
//避免前端上传图片失败还传递失败信息到后台
|
|
if(image.startsWith("{")&&image.endsWith("}")){
|
|
if(image.startsWith("{")&&image.endsWith("}")){
|
|
throw new Exception();
|
|
|
|
|
|
throw new Exception("上传图片失败!");
|
|
}
|
|
}
|
|
if(!StringUtils.isEmpty(articleId)){
|
|
if(!StringUtils.isEmpty(articleId)){
|
|
JSONObject obj = thirdJkEduArticleService.getArticalById(articleId,null,"");
|
|
JSONObject obj = thirdJkEduArticleService.getArticalById(articleId,null,"");
|
|
@ -1327,7 +1327,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
heapm.setLeaveWords(one.getLeaveWords());//医生留言
|
|
heapm.setLeaveWords(one.getLeaveWords());//医生留言
|
|
doctor = doctorDao.findByCode(one.getDoctorCode());
|
|
doctor = doctorDao.findByCode(one.getDoctorCode());
|
|
heapm.setPhoto(doctor.getPhoto());
|
|
heapm.setPhoto(doctor.getPhoto());
|
|
heapm.setTotalData(total);
|
|
|
|
|
|
// heapm.setTotalData(total);
|
|
result.add(heapm);
|
|
result.add(heapm);
|
|
// heapm.setTime();//时间 xx小时前 2017-10-11
|
|
// heapm.setTime();//时间 xx小时前 2017-10-11
|
|
}
|
|
}
|