perf: 任务描述支持清单
This commit is contained in:
@@ -359,17 +359,6 @@ class Base
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 去除html
|
||||
* @param $text
|
||||
* @param int $length
|
||||
* @return string
|
||||
*/
|
||||
public static function getHtml($text, $length = 250)
|
||||
{
|
||||
return Base::cutStr(strip_tags($text), $length, 0, "...");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* 截取字符串
|
||||
|
||||
Reference in New Issue
Block a user