Commit 44bd4397 authored by hj's avatar hj

更新提交

parent a0cd874b
......@@ -72,7 +72,7 @@ class MsdsController extends Controller
$platformCompanyInfo = app(CustomerService::class)->getPlatformCustomer(['cus_number' => $companyCode]);
$pdf = $this->chemicalsMsdsService->getMsds($cas, $msdsType, $platformCompanyInfo);
return Response::success($this->formatKeysfromArray(['download' => $pdf]),'操作成功');
return Response::success($this->formatKeysfromArray(['download' => env('DOWNLOAD_URL').$pdf]),'操作成功');
}catch(\Throwable $exception){
return $this->returnErrorExecptionResponse($exception,'获取msds失败');
}
......
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