feat: 升级midway,支持esm

This commit is contained in:
xiaojunnuo
2024-07-15 00:30:33 +08:00
parent 970c7fd8a0
commit 485e603b51
246 changed files with 3821 additions and 1532 deletions

View File

@@ -1,6 +1,6 @@
import { Inject } from '@midwayjs/decorator';
import { Inject } from '@midwayjs/core';
import { Context } from '@midwayjs/koa';
import { Constants } from './constants';
import { Constants } from './constants.js';
export abstract class BaseController {
@Inject()