add paycenter

This commit is contained in:
2025-04-09 01:23:23 +08:00
parent 8bd517cfcb
commit 5f59158021
14 changed files with 752 additions and 12 deletions

6
src/uitls/qrcode.ts Normal file
View File

@@ -0,0 +1,6 @@
import QRCode from 'qrcode';
export const generateQRCode = async (url: string) => {
const qrCode = await QRCode.toDataURL(url);
return qrCode;
};