diff --git a/app/Http/Controllers/ProgramAppendConstructController.php b/app/Http/Controllers/ProgramAppendConstructController.php index 88a02cc..47af017 100644 --- a/app/Http/Controllers/ProgramAppendConstructController.php +++ b/app/Http/Controllers/ProgramAppendConstructController.php @@ -68,7 +68,7 @@ class ProgramAppendConstructController extends BaseController return [ "text" => $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"]), ]; })->toArray();