初始版本,目前线上可用

This commit is contained in:
2025-11-19 12:49:16 +08:00
commit cb7f1c45e8
178 changed files with 30336 additions and 0 deletions

17
backEnd/ormconfig.js Normal file
View File

@@ -0,0 +1,17 @@
const env = process.env.NODE_ENV;
module.exports = {
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "root",
"password": "123456",
"database": "binyi",
"entities": ["./src/entity/*.ts"],
"migrations": ["src/migration/*.ts"],
"synchronize": true,
"logging": false,
"cli": {
"entitiesDir": "src/entity",
"migrationsDir": "src/migration"
}
}