order address apis

This commit is contained in:
2026-08-25 08:58:22 +08:00
parent 1c85f16c2e
commit a21b93f569
25 changed files with 1123 additions and 185 deletions
+7
View File
@@ -124,6 +124,13 @@ func DecryptPhone(phone string) (string, Error) {
return newPhone, nil
}
func DecryptPhoneReplace(mobile string) string {
if len(mobile) < NumberEleven {
return mobile
}
return mobile[:NumberThree] + "****" + mobile[NumberSeven:NumberEleven]
}
func GetSearchPhone(mobile string) string {
phone := StringEmpty
if len(mobile) == 11 {