添加了购买图书的功能

This commit is contained in:
2023-12-17 03:55:12 +00:00
parent 8574b188f8
commit 122ddb9e2c
7 changed files with 133 additions and 5 deletions

View File

@ -195,6 +195,10 @@ app.get('/admin', (req, res) => {
res.sendFile(join(__dirname, 'admin.html'));
});
app.get('/buy', (req, res) => {
res.sendFile(join(__dirname, 'buy.html'));
});
server.listen(3000, () => {
console.log('server running at http://localhost:3000');
});