mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-09 13:28:20 +00:00
4.x 就绪
This commit is contained in:
parent
39955affb9
commit
61c3dec78f
@ -5,7 +5,7 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@cool-midway/alipay": "^4.0.3",
|
||||
"@cool-midway/core": "D:\\src\\cool\\admin\\midway-core\\core\\dist",
|
||||
"@cool-midway/core": "^4.0.6",
|
||||
"@cool-midway/es": "^4.0.2",
|
||||
"@cool-midway/oss": "^4.0.2",
|
||||
"@cool-midway/queue": "^4.0.3",
|
||||
|
||||
@ -27,6 +27,18 @@ export class BaseCommController extends BaseController {
|
||||
@Inject('cool:file')
|
||||
coolFile: ICoolFile;
|
||||
|
||||
@Inject('cool:eps')
|
||||
eps;
|
||||
|
||||
/**
|
||||
* 实体信息与路径
|
||||
* @returns
|
||||
*/
|
||||
@Get('/eps')
|
||||
public async getEps() {
|
||||
return this.ok(this.eps);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得个人信息
|
||||
*/
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Get, Inject, Provide } from '@midwayjs/decorator';
|
||||
import { Inject, Provide } from '@midwayjs/decorator';
|
||||
import { CoolController, BaseController } from '@cool-midway/core';
|
||||
import { BaseSysMenuEntity } from '../../../entity/sys/menu';
|
||||
import { BaseSysMenuService } from '../../../service/sys/menu';
|
||||
@ -15,16 +15,4 @@ import { BaseSysMenuService } from '../../../service/sys/menu';
|
||||
export class BaseSysMenuController extends BaseController {
|
||||
@Inject()
|
||||
baseSysMenuService: BaseSysMenuService;
|
||||
|
||||
@Inject('cool:eps')
|
||||
eps;
|
||||
|
||||
/**
|
||||
* 实体信息与路径
|
||||
* @returns
|
||||
*/
|
||||
@Get('/eps')
|
||||
public async getEps() {
|
||||
return this.ok(this.eps);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user