正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -923,7 +923,7 @@ class User extends Api | @@ -923,7 +923,7 @@ class User extends Api | ||
923 | $v->visible(['id','avatar','nickname','is_work','mobile','is_complete']); | 923 | $v->visible(['id','avatar','nickname','is_work','mobile','is_complete']); |
924 | })->toArray(); | 924 | })->toArray(); |
925 | if(Validate::regex($user['mobile'], "^1\d{10}$")){ | 925 | if(Validate::regex($user['mobile'], "^1\d{10}$")){ |
926 | - $user['mobile'] = substr_replace($v['mobile'],'****',3,5); | 926 | + $user['mobile'] = substr_replace($user['mobile'],'****',3,5); |
927 | } | 927 | } |
928 | $user->visible(['id','avatar','nickname','is_work','mobile','is_complete']); | 928 | $user->visible(['id','avatar','nickname','is_work','mobile','is_complete']); |
929 | $this->success('成功',compact('user','list')); | 929 | $this->success('成功',compact('user','list')); |
-
请 注册 或 登录 后发表评论