Commit cb71bff1 authored by hj's avatar hj

更新提交0

parent 7a40bd83
......@@ -18,10 +18,10 @@ class ChemicalsMsdsService
return $fileService->getDownloadUrl(current($msdPdf)['uniqueid']);
}
$findResult = shell_exec('find '.env('MSDS_FILE_DIR').' -iname \''.$cas.'\' -print');
/*$findResult = shell_exec('find '.env('MSDS_FILE_DIR').' -iname \''.$cas.'\' -print');
if(is_null($findResult)){
return null;
}
}*/
$msds_html = file_get_contents(env('MSDS_FILE_DIR').'/'.$cas.'/'.$cas.'_sds_'.$type.'.html');
if($msds_html){
......
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 to comment