通用获取中文拼音(全拼)

pull/57/head
Liyanjun 2023-07-01 13:52:12 +08:00
parent 9c79f5dfd6
commit 1425cb6fed
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ public class DictServiceImpl extends ServiceImpl<DictMapper, SysDict> implements
@Override
public String getPinyin(String name) {
if(ObjectUtil.isNotEmpty(name)) {
name=pinYinApi.parseEveryPinyinFirstLetter(name);
name=pinYinApi.parsePinyinString(name);
}
return name;
}