准备开始写数据统计
This commit is contained in:
parent
05218feeb4
commit
2771fcb9d4
@ -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
|
||||||
|
@ -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: [],
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user