正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -170,8 +170,8 @@ class InquiryController extends BaseController | @@ -170,8 +170,8 @@ class InquiryController extends BaseController | ||
| 170 | //非正常登录的 | 170 | //非正常登录的 |
| 171 | if($this->param['login_source']??0 != 2){ | 171 | if($this->param['login_source']??0 != 2){ |
| 172 | //脱敏 | 172 | //脱敏 |
| 173 | - $item['email'] = email_desensitize($item['email']); | ||
| 174 | - $item['phone'] = substr($item['phone'], 0, -4) . '****'; | 173 | + !empty($item['email']) && $item['email'] = email_desensitize($item['email']); |
| 174 | + !empty($item['phone']) && $item['phone'] = substr($item['phone'], 0, -4) . '****'; | ||
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | $item['ip_address'] = "{$item['country']}({$item['ip']})"; | 177 | $item['ip_address'] = "{$item['country']}({$item['ip']})"; |
-
请 注册 或 登录 后发表评论