|
@@ -47,6 +47,7 @@ const pool = mysql.createPool({
|
|
|
})
|
|
|
import 'cnchar'
|
|
|
import 'sort-array'
|
|
|
+import UserInteractions from "./UserInteractions.js";
|
|
|
|
|
|
const Kind = {
|
|
|
0: "去和声伴奏",
|
|
@@ -507,7 +508,6 @@ app.options('/search_api', function (req, res) {
|
|
|
res.end()
|
|
|
})
|
|
|
app.get("/getSingle", function (req, res) {
|
|
|
- let uuid = crypto.randomUUID()
|
|
|
if (req.query.id) {
|
|
|
if (req.query.albumcover === "true") {
|
|
|
db.execute("SELECT albumcover FROM instrunet_entry WHERE uuid = ?", [req.query.id], async function (err, rows) {
|