作者 赵彬吉

update

@@ -310,7 +310,7 @@ class SyncSubmitTaskService @@ -310,7 +310,7 @@ class SyncSubmitTaskService
310 } 310 }
311 } 311 }
312 //是否允许包含链接 312 //是否允许包含链接
313 - if(!empty($config['is_allow_link']) && !$config['is_allow_link']){ 313 + if(isset($config['is_allow_link']) && !$config['is_allow_link']){
314 if (Str::contains(strtolower($data['data']['message']), ['http://', 'https://', 'www.'])) { 314 if (Str::contains(strtolower($data['data']['message']), ['http://', 'https://', 'www.'])) {
315 throw new InquiryFilterException('不允许包含链接'); 315 throw new InquiryFilterException('不允许包含链接');
316 } 316 }