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