Commit 01b3d4d9 by lujunyi

药品限购兼容脏数据

parent 962bbcf3
...@@ -152,14 +152,14 @@ public function update(Request $request) ...@@ -152,14 +152,14 @@ public function update(Request $request)
} }
$practicing_license = $request->input('practicing_license'); $practicing_license = $request->input('practicing_license');
$practicing_license_path = ''; $practicing_license_path = '';
if( !empty($practicing_license) ){ if (! empty($practicing_license)) {
$practicing_licenses = parse_url($practicing_license); $practicing_licenses = parse_url($practicing_license);
$practicing_license_path = $practicing_licenses['path']; $practicing_license_path = $practicing_licenses['path'];
} }
$physician_license = $request->input('physician_license'); $physician_license = $request->input('physician_license');
$physician_license_path = ''; $physician_license_path = '';
if( !empty($physician_license) ){ if (! empty($physician_license)) {
$physician_licenses = parse_url($physician_license); $physician_licenses = parse_url($physician_license);
$physician_license_path = $physician_licenses['path']; $physician_license_path = $physician_licenses['path'];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment