|
@ -1120,6 +1120,10 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
String secondLevelCategoryName,String firstLevelCategoryId,String firstLevelCategoryName,String content,String operatorRoleCode,
|
|
|
String opertorRoleLevel,Integer userScope,String articleId,Integer roleType) throws Exception {
|
|
|
|
|
|
//避免前端上传图片失败还传递失败信息到后台
|
|
|
if(image.startsWith("{")&&image.endsWith("}")){
|
|
|
throw new Exception();
|
|
|
}
|
|
|
if(!StringUtils.isEmpty(articleId)){
|
|
|
JSONObject obj = thirdJkEduArticleService.getArticalById(articleId,null,"");
|
|
|
if(!StringUtils.isEmpty(image)&&!(obj.get("articleCover")+"").equals(image)){
|