...
|
...
|
@@ -63,7 +63,7 @@ class Shop extends Frontend |
|
|
if(empty($user_id)){
|
|
|
$text = "(请您先登录)";
|
|
|
$data['phone'] = substr_replace($data['phone'],'****',3,4).$text;
|
|
|
$data['address'] = substr_replace($data['address'],'********',3).$text;
|
|
|
$data['address'] = substr_replace($data['address'],'********',9).$text;
|
|
|
}
|
|
|
//当前用户若不是会员加密部分信息
|
|
|
if($encrypt == '2'){
|
...
|
...
|
@@ -72,7 +72,7 @@ class Shop extends Frontend |
|
|
$text = "(请您先登录)";
|
|
|
}
|
|
|
$data['phone'] = substr_replace($data['phone'],'****',3,4).$text;
|
|
|
$data['address'] = substr_replace($data['address'],'********',3).$text;
|
|
|
$data['address'] = substr_replace($data['address'],'********',9).$text;
|
|
|
}
|
|
|
$this->assign('data',$data);
|
|
|
// dump(collection($data)->toArray());
|
...
|
...
|
|