mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-21 05:18:14 +00:00
4.x 就绪
This commit is contained in:
parent
39955affb9
commit
61c3dec78f
@ -5,7 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cool-midway/alipay": "^4.0.3",
|
"@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/es": "^4.0.2",
|
||||||
"@cool-midway/oss": "^4.0.2",
|
"@cool-midway/oss": "^4.0.2",
|
||||||
"@cool-midway/queue": "^4.0.3",
|
"@cool-midway/queue": "^4.0.3",
|
||||||
|
|||||||
@ -27,6 +27,18 @@ export class BaseCommController extends BaseController {
|
|||||||
@Inject('cool:file')
|
@Inject('cool:file')
|
||||||
coolFile: ICoolFile;
|
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 { CoolController, BaseController } from '@cool-midway/core';
|
||||||
import { BaseSysMenuEntity } from '../../../entity/sys/menu';
|
import { BaseSysMenuEntity } from '../../../entity/sys/menu';
|
||||||
import { BaseSysMenuService } from '../../../service/sys/menu';
|
import { BaseSysMenuService } from '../../../service/sys/menu';
|
||||||
@ -15,16 +15,4 @@ import { BaseSysMenuService } from '../../../service/sys/menu';
|
|||||||
export class BaseSysMenuController extends BaseController {
|
export class BaseSysMenuController extends BaseController {
|
||||||
@Inject()
|
@Inject()
|
||||||
baseSysMenuService: BaseSysMenuService;
|
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