作者 刘锟

update

... ... @@ -41,7 +41,10 @@ public function addQrToPdf(Request $request)
{
$sourceFile = $request->input('original_pdf');
if (empty($sourceFile)) {
return $this->error('原始pdf未知');
return $this->error('原始pdf未传参');
}
if (!file_exists($sourceFile)) {
return $this->error('原始pdf不存在');
}
$qrText = $request->input('qr_text');
if (empty($qrText)) {
... ...