作者 王小刚
1 个管道 的构建 通过 耗费 38 秒

显示不全

... ... @@ -291,14 +291,14 @@ class Goods extends Frontend
}
$data[$key]['insurance'] = $insurance;
//当前用户若不是会员加密部分信息
if($encrypt == '2'){
// if($encrypt == '2'){
$text = '';
if(empty($user_id)){
$text = "(请您先登录)";
}
$data[$key]['store_phone'] = "***********$text";
$data[$key]['store_address'] = "***********$text";
}
// }
//计算平均分
$score_count = $evaluateModel->where(['goods_id'=>$vo['id']])->count();
$score_sum = $evaluateModel->where(['goods_id'=>$vo['id']])->sum('level');
... ...