|
@@ -93,7 +93,7 @@ class DetectionService
|
|
|
$label = $sceneResult->label;
|
|
|
$rate = $sceneResult->rate;
|
|
|
//如果为色情,辱骂,摄政,违禁 标签,并且建议为block 则不通过
|
|
|
- if(in_array($label,['porn','abuse','politics','contraband','others'])){
|
|
|
+ if(in_array($label,['porn','terrorism','abuse','politics','contraband','others'])){
|
|
|
if ($suggestion == 'block') {
|
|
|
$flag = false;
|
|
|
}
|