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