diff --git a/api/controllers/wxapp/licheb/Score.php b/api/controllers/wxapp/licheb/Score.php index 9b44bad3..02942737 100644 --- a/api/controllers/wxapp/licheb/Score.php +++ b/api/controllers/wxapp/licheb/Score.php @@ -236,7 +236,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //跟进能力 @@ -248,7 +248,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //邀约能力 @@ -261,7 +261,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //成交能力 @@ -274,7 +274,7 @@ class Score extends Wxapp $max = $this->orders_model->count($where_max); $where["biz_id"] = $this->biz_id; $value = $this->orders_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //交付能力 @@ -287,7 +287,7 @@ class Score extends Wxapp $max = $this->orders_model->count($where_max); $where["biz_id"] = $this->biz_id; $value = $this->orders_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; foreach ($names as $key => $value) {