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