|
@@ -63,12 +63,12 @@ class AppointmentService
|
|
|
$row->goods_sku_specs_json = !empty($row->goods_sku_specs_json) ? json_decode($row->goods_sku_specs_json, true) : [];
|
|
|
$row->order_addtimes = date('Y-m-d H:i:s', $row->order_addtimes);
|
|
|
$row->appointment_addtimes = date('Y-m-d H:i:s', $row->appointment_addtimes);
|
|
|
-// $row->appointment_apply_json = !empty($row->appointment_apply_json) ? json_decode($row->appointment_apply_json) : [];
|
|
|
+ $row->appointment_apply_json = !empty($row->appointment_apply_json) ? json_decode($row->appointment_apply_json,true) : [];
|
|
|
if ($row->appointment_category == 'NOFEE') {
|
|
|
$row->member_benefit_name = "后付费预约";
|
|
|
}
|
|
|
if (!empty($row->appointment_apply_json)) {
|
|
|
- $applyJson = json_decode($row->appointment_apply_json, true);
|
|
|
+ $applyJson = $row->appointment_apply_json;
|
|
|
$row->person = $applyJson['person'] ?? '';
|
|
|
$row->appointment_times = $applyJson['times'] ?? '';
|
|
|
}
|