|
@@ -439,8 +439,9 @@ class Application extends Base
|
|
|
}
|
|
|
}
|
|
|
if($contact['pay_type'] === 1) { // 患者支付
|
|
|
- $wechatService->pushWechatOrder($param['id']);
|
|
|
- return $this->createPatientsOrder($local_institution_id, $remote_institution_id, $req_doctor_id, $remote_doctor_id, $exam_info['exam_class'], $application['id'], $cost['money']);
|
|
|
+ $res = $this->createPatientsOrder($local_institution_id, $remote_institution_id, $req_doctor_id, $remote_doctor_id, $exam_info['exam_class'], $application['id'], $cost['money']);
|
|
|
+ $push_res = $wechatService->pushWechatOrder($param['id']);
|
|
|
+ return json_encode(['status'=>'ok','code'=>'0000']);
|
|
|
}
|
|
|
}
|
|
|
} else {
|