mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
优化后台管理端查看手机号
This commit is contained in:
parent
6acb474446
commit
3425e2bff8
@ -217,8 +217,8 @@ class PublicController
|
||||
/**
|
||||
* 图片上传
|
||||
* @param Request $request
|
||||
* @param SystemAttachmentServices $services
|
||||
* @return mixed
|
||||
* @throws \Psr\SimpleCache\InvalidArgumentException
|
||||
*/
|
||||
public function upload_image(Request $request, SystemAttachmentServices $services)
|
||||
{
|
||||
|
||||
@ -69,10 +69,10 @@ class User extends BaseModel
|
||||
return app('request')->ip();
|
||||
}
|
||||
|
||||
protected function getPhoneAttr($value)
|
||||
{
|
||||
return $value && app('request')->hasMacro('adminInfo') && app('request')->adminInfo()['level'] != 0 ? substr_replace($value, '****', 3, 4) : $value;
|
||||
}
|
||||
// protected function getPhoneAttr($value)
|
||||
// {
|
||||
// return $value && app('request')->hasMacro('adminInfo') && app('request')->adminInfo()['level'] != 0 ? substr_replace($value, '****', 3, 4) : $value;
|
||||
// }
|
||||
|
||||
/**
|
||||
* 链接会员登陆设置表
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user