GuLiMmo
2024-04-01 3d954cd30c42279fa50e3f52a46b06a19afe3369
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}