no message

This commit is contained in:
kuaifan
2024-10-20 00:34:26 +08:00
parent 07c5f586b0
commit 829e3982d2
28 changed files with 4505 additions and 4470 deletions

View File

@@ -1710,9 +1710,9 @@ class Base
* @param $str
* @return string
*/
public static function cardFormat($str)
public static function formatName($str)
{
if (strpos($str, '@')) {
if (str_contains($str, "@")) {
$email_array = explode("@", $str);
$prevfix = substr($str, 0, strlen($email_array[0]) < 4 ? 1 : 3); //邮箱前缀
$count = 0;