This commit is contained in:
2026-01-23 11:39:16 +08:00
parent 2e391088ff
commit d949fdbd02
+5 -5
View File
@@ -154,11 +154,11 @@ class MpdfDriver
'default_font' => 'sun-exta'
]);
$mpdf->SetProtection(//限制篡改或盗用
['print'], // 允许的权限 copy:允许复制、print:允许打印
'', // 用户密码(可留空)
$car['code'] // 拥有者密码(一定要设置)
);
// $mpdf->SetProtection(//限制篡改或盗用
// ['print'], // 允许的权限 copy:允许复制、print:允许打印
// '', // 用户密码(可留空)
// $car['code'] // 拥有者密码(一定要设置)
// );
//设置水印
$mpdf->SetWatermarkText(