老板名字拼音保留英文

This commit is contained in:
Jerry Yan 2022-08-19 22:21:48 +08:00
parent 86ea0ff313
commit ee12175fba
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -68,7 +68,7 @@ class ProgramAppendConstructController extends BaseController
return [ return [
"text" => $item["from"], "text" => $item["from"],
"value" => $item["from"], "value" => $item["from"],
"alias" => implode("", \pinyin($item["from"], PINYIN_NO_TONE)), "alias" => implode("", \pinyin($item["from"], PINYIN_NO_TONE|PINYIN_KEEP_ENGLISH)),
"abbr" => \pinyin_abbr($item["from"]), "abbr" => \pinyin_abbr($item["from"]),
]; ];
})->toArray(); })->toArray();