修改评价时间
This commit is contained in:
parent
16a22d9b2c
commit
1431b32cd2
@ -743,7 +743,7 @@ class UserDoctorService extends BaseService
|
|||||||
|
|
||||||
$order_evaluation = OrderEvaluation::getScorePage($params, $avg_score_params,['*'],$page,$per_page);
|
$order_evaluation = OrderEvaluation::getScorePage($params, $avg_score_params,['*'],$page,$per_page);
|
||||||
if (!empty($order_evaluation['data'])) {
|
if (!empty($order_evaluation['data'])) {
|
||||||
foreach ($order_evaluation['data'] as $key => $item) {
|
foreach ($order_evaluation['data'] as &$item) {
|
||||||
$item['avg_score'] = floor($item['avg_score'] * 0.05);
|
$item['avg_score'] = floor($item['avg_score'] * 0.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user