1
This commit is contained in:
@@ -637,6 +637,7 @@ class InquiryService extends BaseService
|
||||
$result = array();
|
||||
$result['doctor_user_id'] = $user_doctor['user_id'];
|
||||
$result['patient_user_id'] = $order_inquiry['user_id'];
|
||||
$result['doctor_id'] = $order_inquiry['doctor_id'];
|
||||
$result['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
|
||||
$result['patient_name'] = $order_inquiry['patient_name'];
|
||||
$result['patient_sex'] = $order_inquiry['patient_sex'];
|
||||
|
||||
@@ -52,6 +52,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params']);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
return success($result);
|
||||
@@ -98,6 +102,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params'], true);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
return success($result);
|
||||
@@ -131,6 +139,10 @@ class MessageNoticeService extends BaseService
|
||||
$message_notice['show_params'] = json_decode($message_notice['show_params'], true);
|
||||
}
|
||||
|
||||
if (!empty($message_notice['notice_send_time'])) {
|
||||
$message_notice['notice_send_time'] = date('Y-m-d H:i',strtotime($message_notice['notice_send_time']));
|
||||
}
|
||||
|
||||
return success($message_notice->toArray());
|
||||
}
|
||||
|
||||
@@ -295,6 +307,10 @@ class MessageNoticeService extends BaseService
|
||||
if (!empty($item['show_params'])) {
|
||||
$item['show_params'] = json_decode($item['show_params']);
|
||||
}
|
||||
|
||||
if (!empty($item['notice_send_time'])) {
|
||||
$item['notice_send_time'] = date('Y-m-d H:i',strtotime($item['notice_send_time']));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user