mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-16 04:42:49 +00:00
修复Ai编码生成路径不正确
This commit is contained in:
parent
614786cdb3
commit
d055e856da
16
package.json
16
package.json
@ -11,16 +11,16 @@
|
|||||||
"@midwayjs/cache-manager": "^3.16.0",
|
"@midwayjs/cache-manager": "^3.16.0",
|
||||||
"@midwayjs/core": "^3.16.0",
|
"@midwayjs/core": "^3.16.0",
|
||||||
"@midwayjs/cron": "^3.16.0",
|
"@midwayjs/cron": "^3.16.0",
|
||||||
"@midwayjs/cross-domain": "^3.16.0",
|
"@midwayjs/cross-domain": "^3.16.1",
|
||||||
"@midwayjs/decorator": "^3.16.0",
|
"@midwayjs/decorator": "^3.16.0",
|
||||||
"@midwayjs/info": "^3.16.0",
|
"@midwayjs/info": "^3.16.1",
|
||||||
"@midwayjs/koa": "^3.16.0",
|
"@midwayjs/koa": "^3.16.1",
|
||||||
"@midwayjs/logger": "^3.4.0",
|
"@midwayjs/logger": "^3.4.0",
|
||||||
"@midwayjs/static-file": "^3.16.0",
|
"@midwayjs/static-file": "^3.16.1",
|
||||||
"@midwayjs/typeorm": "^3.16.0",
|
"@midwayjs/typeorm": "^3.16.0",
|
||||||
"@midwayjs/upload": "^3.16.0",
|
"@midwayjs/upload": "^3.16.1",
|
||||||
"@midwayjs/validate": "^3.16.0",
|
"@midwayjs/validate": "^3.16.1",
|
||||||
"@midwayjs/view-ejs": "^3.16.0",
|
"@midwayjs/view-ejs": "^3.16.1",
|
||||||
"axios": "^1.6.8",
|
"axios": "^1.6.8",
|
||||||
"cache-manager-ioredis-yet": "^2.0.4",
|
"cache-manager-ioredis-yet": "^2.0.4",
|
||||||
"decompress": "^4.2.1",
|
"decompress": "^4.2.1",
|
||||||
@ -46,7 +46,7 @@
|
|||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"mwts": "^1.3.0",
|
"mwts": "^1.3.0",
|
||||||
"mwtsc": "^1.8.1",
|
"mwtsc": "^1.9.0",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.2",
|
||||||
"typescript": "~5.4.5"
|
"typescript": "~5.4.5"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -302,6 +302,8 @@ export class BaseSysMenuService extends BaseService {
|
|||||||
// 生成Entity
|
// 生成Entity
|
||||||
const entityPath = pathUtil.join(
|
const entityPath = pathUtil.join(
|
||||||
basePath,
|
basePath,
|
||||||
|
'..',
|
||||||
|
'src',
|
||||||
'modules',
|
'modules',
|
||||||
module,
|
module,
|
||||||
'entity',
|
'entity',
|
||||||
@ -310,6 +312,8 @@ export class BaseSysMenuService extends BaseService {
|
|||||||
// 生成Controller
|
// 生成Controller
|
||||||
const controllerPath = pathUtil.join(
|
const controllerPath = pathUtil.join(
|
||||||
basePath,
|
basePath,
|
||||||
|
'..',
|
||||||
|
'src',
|
||||||
'modules',
|
'modules',
|
||||||
module,
|
module,
|
||||||
'controller',
|
'controller',
|
||||||
@ -329,6 +333,8 @@ export class BaseSysMenuService extends BaseService {
|
|||||||
const basePath = this.app.getBaseDir();
|
const basePath = this.app.getBaseDir();
|
||||||
const configFilePath = pathUtil.join(
|
const configFilePath = pathUtil.join(
|
||||||
basePath,
|
basePath,
|
||||||
|
'..',
|
||||||
|
'src',
|
||||||
'modules',
|
'modules',
|
||||||
module,
|
module,
|
||||||
'config.ts'
|
'config.ts'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user