Commit 52ef868a authored by hujun's avatar hujun

content

parent a9534c1c
......@@ -179,7 +179,7 @@ class UserService
try {
$user_data = $this->user->getUserById('user_name,user_phone', $referrer_id);
$user_data['user_phone'] = substr_replace($user_data['user_phone'], '****', 3, 4);
$user_data['user_phone'] = empty($user_data['user_phone']) ? '' :substr_replace($user_data['user_phone'], '****', 3, 4);
if ($type == 'add') {
$remark = '新增为' . $user_data['user_name'] . '-' . $user_data['user_phone'] . ',客户ID:' . $referrer_id;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment