公海信息脱敏

This commit is contained in:
2025-07-25 15:19:33 +08:00
parent b189b8c1af
commit 98e3dc033c
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -91,6 +91,8 @@ class CustomerService
foreach ($customer as &$item) {
$item = $this->getCustomer($item);
if($seas == 'seas'){
$item['phone'] = Util::mask($item['phone']);
$item['email'] = Util::mask($item['email']);
$item['seas_time'] = time()-(empty($item['deleted_at'])?strtotime($item['updated_at']):strtotime($item['deleted_at']));
}
}