From 2afc71ddfeb8cafc59c88981054d46ec7c626691 Mon Sep 17 00:00:00 2001
From: lyzflash <lzhflash@163.com>
Date: Sun, 16 Nov 2025 23:23:43 +0800
Subject: [PATCH] 1

---
 mobile/common/utils.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/mobile/common/utils.js b/mobile/common/utils.js
index 8bf25cb..8c7e22e 100644
--- a/mobile/common/utils.js
+++ b/mobile/common/utils.js
@@ -166,6 +166,10 @@
 		} else {
 			return false;
 		}
+	},
+	// 屏蔽手机号码中间4位
+	maskPhoneNumber(phoneNumber) {
+		return phoneNumber.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
 	}
 };
 export default utils;
\ No newline at end of file

--
Gitblit v1.9.2