shop-php/extend/taobao/domain/KfcSearchResult.php
2024-01-26 09:39:36 +08:00

29 lines
654 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* KFC 关键词过滤匹配结果
* @author auto create
*/
class KfcSearchResult
{
/**
* 过滤后的文本:
当匹配到B等级的词时文本中的关键词被替换为*号content即为关键词替换后的文本
其他情况content始终为null
**/
public $content;
/**
* 匹配到的关键词的等级值为null或为A、B、C、D。
当匹配不到关键词时值为null否则值为A、B、C、D中的一个。
A、B、C、D等级按严重程度从高至低排列。
**/
public $level;
/**
* 是否匹配到关键词,匹配到则为true.
**/
public $matched;
}
?>