master
ljl 10 months ago
parent e0fa642aa2
commit f92e24db9e

@ -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);

Loading…
Cancel
Save