|
|
|
@ -152,9 +152,9 @@ public function SaveApply($orderNo)
|
|
|
|
self::$request->save();
|
|
|
|
self::$request->save();
|
|
|
|
$res = json_decode($res_string, true);
|
|
|
|
$res = json_decode($res_string, true);
|
|
|
|
if (isset($res['Response']['Head']['TradeStatus']) and $res['Response']['Head']['TradeStatus'] == 'AA') {
|
|
|
|
if (isset($res['Response']['Head']['TradeStatus']) and $res['Response']['Head']['TradeStatus'] == 'AA') {
|
|
|
|
return ['status'=>true,'msg'=>'推送成功','data'=>['entrust_id' => $entrust->entrust_id,'res'=>$res]];
|
|
|
|
return ['status'=>true,'msg'=>'PACS推送成功','data'=>['entrust_id' => $entrust->entrust_id,'res'=>$res]];
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return ['status'=>false,'msg'=>'推送失败','data'=>[]];
|
|
|
|
return ['status'=>false,'msg'=>'PACS推送失败','data'=>[]];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return ['status'=>false,'msg'=>'医嘱不存在','data'=>[]];
|
|
|
|
return ['status'=>false,'msg'=>'医嘱不存在','data'=>[]];
|
|
|
|
|