This commit is contained in:
saplf
2019-09-08 13:03:43 +08:00
parent b004908af9
commit 5351afaae3
25 changed files with 263 additions and 14 deletions

View File

@@ -46,3 +46,7 @@ export function fromLangToText(lang: string) {
export function encryptPwd(pwd: string): string {
return md5(pwd);
}
export function displayPhone(phone: string): string {
return `1******${_.takeRight(phone, 4).join('')}`;
}