|
|
@@ -60,8 +60,8 @@ class Product extends Base |
|
|
|
// ->field('COUNT(*) as count, IFNULL(CEIL(AVG(rate)/5*100),0) as avg') |
|
|
|
// ->cache(10)->find(); |
|
|
|
$data['evaluate_data']=[ |
|
|
|
"evaluate_avg"=>$data["evaluate_avg"], |
|
|
|
"evaluate_count"=>$data["evaluate_count"], |
|
|
|
"avg"=>$data["evaluate_avg"], |
|
|
|
"count"=>$data["evaluate_count"], |
|
|
|
]; |
|
|
|
|
|
|
|
//优惠券 |
|
|
|