正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -307,7 +307,7 @@ class Goods extends Frontend | @@ -307,7 +307,7 @@ class Goods extends Frontend | ||
307 | if(empty($user_id)){ | 307 | if(empty($user_id)){ |
308 | $text = "(请您先登录)"; | 308 | $text = "(请您先登录)"; |
309 | $data[$key]['store_phone'] = substr_replace($vo['store_phone'],'****',3,4).$text; | 309 | $data[$key]['store_phone'] = substr_replace($vo['store_phone'],'****',3,4).$text; |
310 | - $data[$key]['store_address'] = substr_replace($vo['store_phone'],'********',3).$text; | 310 | + $data[$key]['store_address'] = substr_replace($vo['store_address'],'********',3).$text; |
311 | } | 311 | } |
312 | //当前用户若不是会员加密部分信息 | 312 | //当前用户若不是会员加密部分信息 |
313 | if($insurance == '2'){ | 313 | if($insurance == '2'){ |
@@ -316,7 +316,7 @@ class Goods extends Frontend | @@ -316,7 +316,7 @@ class Goods extends Frontend | ||
316 | $text = "(请您先登录)"; | 316 | $text = "(请您先登录)"; |
317 | } | 317 | } |
318 | $data[$key]['store_phone'] = substr_replace($vo['store_phone'],'****',3,4).$text; | 318 | $data[$key]['store_phone'] = substr_replace($vo['store_phone'],'****',3,4).$text; |
319 | - $data[$key]['store_address'] = substr_replace($vo['store_phone'],'********',3).$text; | 319 | + $data[$key]['store_address'] = substr_replace($vo['store_address'],'********',3).$text; |
320 | } | 320 | } |
321 | //计算平均分 | 321 | //计算平均分 |
322 | $score_count = $evaluateModel->where(['goods_id'=>$vo['id']])->count(); | 322 | $score_count = $evaluateModel->where(['goods_id'=>$vo['id']])->count(); |
-
请 注册 或 登录 后发表评论