|
|
|
@ -894,6 +894,16 @@ class OrderController extends Controller
|
|
|
|
"预约Id" => $create_appointment['data'][0][0],
|
|
|
|
"预约Id" => $create_appointment['data'][0][0],
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(json_decode($order_info->erxian_appointment_info,true) != null){ //给体检发送二线信息
|
|
|
|
|
|
|
|
$erxianinfo = json_decode($order_info->erxian_appointment_info,true);
|
|
|
|
|
|
|
|
if(count($erxianinfo) != 0){
|
|
|
|
|
|
|
|
$haoyuan=str_replace(":", "", $erxianinfo[0]['time']).'|'.$erxianinfo[0]['date'];
|
|
|
|
|
|
|
|
$peis = new PEISApiController();
|
|
|
|
|
|
|
|
$data = "appointmentId=" . $create_appointment['data'][0][0] . "&appGroupId=".$haoyuan."&appPlanId=" . $order_info->plan_id . "&appPlanNumber=" . $order_info->plan_number . "&date=" . urlencode($order_info->appointment_date . ' ' . $order_info->appointment_time);
|
|
|
|
|
|
|
|
$ch = $peis::Post2('修改用户预约时间', $peis::Api('修改用户预约时间', $data), $order_info->hospital_id, []);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//如果是医生web端预约,则调用预约时段修改接口,传入医生名称
|
|
|
|
//如果是医生web端预约,则调用预约时段修改接口,传入医生名称
|
|
|
|
if ($order_info->source == 'web') {
|
|
|
|
if ($order_info->source == 'web') {
|
|
|
|
$peis = new PEISApiController();
|
|
|
|
$peis = new PEISApiController();
|
|
|
|
|