|
|
@ -210,7 +210,7 @@ const server = http.createServer(async (req, res) => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 获取二维码合集接口
|
|
|
// 获取二维码合集接口
|
|
|
if (req.method === 'GET' && req.url === '/getQrCollection') { |
|
|
if (req.method === 'GET' && req.url.startsWith('/getQrCollection')) { |
|
|
try { |
|
|
try { |
|
|
// 解析URL参数,获取用户信息
|
|
|
// 解析URL参数,获取用户信息
|
|
|
const urlParams = new URLSearchParams(req.url.split('?')[1] || ''); |
|
|
const urlParams = new URLSearchParams(req.url.split('?')[1] || ''); |
|
|
|