|
@@ -109,7 +109,7 @@ public class TpActivityServiceImpl extends ServiceImpl<TpActivityMapper, TpActiv
|
109
|
109
|
String [] contentImgArray = jsonArray.toArray(new String[]{});
|
110
|
110
|
TpActivity tpActivity = jsonObject.toJavaObject(TpActivity.class);
|
111
|
111
|
|
112
|
|
- if (contentImgArray.length <= 0 && (null == tpActivity.getActivityContent() || "".equals(tpActivity.getActivityContent())) {
|
|
112
|
+ if (contentImgArray.length <= 0 && (null == tpActivity.getActivityContent() || "".equals(tpActivity.getActivityContent()))){
|
113
|
113
|
responseBean.addError("活动内容描述 和 活动配图至少要存在一个!");
|
114
|
114
|
return responseBean;
|
115
|
115
|
}
|