正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论