Browse Source

checkredis

undefined
娄梦宁 3 years ago
parent
commit
0d0de820cf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      addons/unishop/controller/Product.php

+ 2
- 2
addons/unishop/controller/Product.php View File

@@ -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"],
];

//优惠券


Loading…
Cancel
Save