|
|
|
@ -459,7 +459,8 @@ class StudentModuleUniapp extends Uniapp |
|
|
|
if (empty($title)) $this->renderError('请填写活动标题'); |
|
|
|
if (empty($describe)) $this->renderError('请填写活动内容'); |
|
|
|
if (empty($promotional_img)) $this->renderError('请上传图集'); |
|
|
|
if (!is_array($promotional_img)) $this->renderError('图集数据类型错误'); |
|
|
|
#if (!is_array($promotional_img)) $this->renderError('图集数据类型错误'); |
|
|
|
$promotional_img = MemberCampusActivities::promotionalImgArr($promotional_img); |
|
|
|
// 验证数据是否违规 |
|
|
|
$textRes = Filter::init($title,$_W['source'],1); |
|
|
|
if($textRes['errno'] == 0) $this->renderError('活动标题'.$textRes['message']); |
|
|
|
|