准备开始写数据统计

This commit is contained in:
ZtRXR 2023-08-28 23:19:19 +08:00
parent 05218feeb4
commit 2771fcb9d4
2 changed files with 1 additions and 15 deletions

View File

@ -1,4 +1,5 @@
import "reflect-metadata" import "reflect-metadata"
export default defineEventHandler((envent)=>{ export default defineEventHandler((envent)=>{
// @ts-ignore // @ts-ignore
const webName:string|undefined = envent.context.params.WebName const webName:string|undefined = envent.context.params.WebName

View File

@ -1,15 +0,0 @@
import {DataSource} from "typeorm";
export const AppDataSource = new DataSource({
type: "mysql",
host: "localhost",
port: 3306,
username: "root",
password: "Zengtudor",
database: "hot",
synchronize: false,
logging: true,
entities: [],
subscribers: [],
migrations: [],
})