...
|
...
|
@@ -260,6 +260,11 @@ class Goods extends Frontend |
|
|
$insurance = '1';
|
|
|
}
|
|
|
$data[$key]['insurance'] = $insurance;
|
|
|
//若不是会员加密部分信息
|
|
|
if($insurance == '2'){
|
|
|
$data[$key]['phone'] = "***********";
|
|
|
$data[$key]['address'] = "**********";
|
|
|
}
|
|
|
//计算平均分
|
|
|
$score_count = $evaluateModel->where(['goods_id'=>$vo['id']])->count();
|
|
|
$score_sum = $evaluateModel->where(['goods_id'=>$vo['id']])->sum('level');
|
...
|
...
|
|