From f92e24db9e07b6f7afbfb7a4a51144b4a2ec0c1e Mon Sep 17 00:00:00 2001 From: ljl Date: Mon, 29 Jan 2024 16:46:27 +0800 Subject: [PATCH] yh --- app/libs/services/OrderPrint/InvoiceTplService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/libs/services/OrderPrint/InvoiceTplService.php b/app/libs/services/OrderPrint/InvoiceTplService.php index c99d0c9..bddb4c7 100644 --- a/app/libs/services/OrderPrint/InvoiceTplService.php +++ b/app/libs/services/OrderPrint/InvoiceTplService.php @@ -277,6 +277,7 @@ class InvoiceTplService extends AbstractService { } public function generateUserInvoiceTplAuthCode($mallId, $tplId) { + CheckClient::checkEmpty($tplId, 'tplId'); $uuid = CommonTool::getUuidName(); $uuid5 = \Rhumsaa\Uuid\Uuid::uuid5($uuid, $mallId)->toString(); $authCode = base64_encode($uuid5);