diff --git a/Application/Admin/Common/function.php b/Application/Admin/Common/function.php index bcb506d46..af1e31127 100644 --- a/Application/Admin/Common/function.php +++ b/Application/Admin/Common/function.php @@ -596,4 +596,10 @@ function encryptStr($str) { $stars_str = $stars_str."*"; } return substr_replace($str, $stars_str, 3, $length-6); +} + +function encryptIdCard($str) { + $length = strlen($str); + $stars_str = "****"; + return substr_replace($str, $stars_str, $length-4, 4); } \ No newline at end of file diff --git a/Application/Admin/View/Member/edit.html b/Application/Admin/View/Member/edit.html index d919416fe..50f4cca3e 100644 --- a/Application/Admin/View/Member/edit.html +++ b/Application/Admin/View/Member/edit.html @@ -113,7 +113,7 @@