|
@@ -277,8 +277,8 @@ class Application extends Base
|
|
|
**/
|
|
|
public function apply(WechatService $wechatService){
|
|
|
try{
|
|
|
- var_dump(1);
|
|
|
- var_dump($wechatService);
|
|
|
+ // var_dump(1);
|
|
|
+ // var_dump($wechatService);
|
|
|
log::record($_REQUEST);
|
|
|
$sessionid = $_REQUEST['sessionid'];
|
|
|
$doctor = Cache::get($sessionid);
|
|
@@ -441,10 +441,10 @@ class Application extends Base
|
|
|
}
|
|
|
}
|
|
|
if($contact['pay_type'] === 1) { // 患者支付
|
|
|
- var_dump(2);
|
|
|
- var_dump($wechatService);
|
|
|
+ // var_dump(2);
|
|
|
+ // var_dump($wechatService);
|
|
|
// $push_res = WechatService::pushWechatOrder($param['id']);
|
|
|
- // $push_res = $wechatService->pushWechatOrder($param['id']);
|
|
|
+ $wechatService->pushWechatOrder($param['id']);
|
|
|
$res = $this->createPatientsOrder($local_institution_id, $remote_institution_id, $req_doctor_id, $remote_doctor_id, $exam_info['exam_class'], $application['id'], $cost['money']);
|
|
|
return json_encode(['status'=>'ok','code'=>'0000']);
|
|
|
}
|