This commit is contained in:
COOL 2022-03-24 15:56:46 +08:00
parent 746ce5fdf9
commit ad38c8e9b8
4 changed files with 3 additions and 16 deletions

1
.gitignore vendored
View File

@ -15,6 +15,5 @@ run/
.tsbuildinfo.*
.audit
typings/
lock/
public/uploads/
cache/

View File

@ -4,7 +4,7 @@
"description": "",
"private": true,
"dependencies": {
"@cool-midway/core": "^5.0.5",
"@cool-midway/core": "^5.0.6",
"@cool-midway/es": "^5.0.1",
"@cool-midway/file": "^5.0.1",
"@cool-midway/pay": "^5.0.0",

View File

@ -1,5 +1,5 @@
import { Provide, Inject, Get, Post, Body, ALL } from '@midwayjs/decorator';
import { CoolController, BaseController, CoolEps } from '@cool-midway/core';
import { CoolController, BaseController } from '@cool-midway/core';
import { BaseSysUserEntity } from '../../entity/sys/user';
import { BaseSysLoginService } from '../../service/sys/login';
import { BaseSysPermsService } from '../../service/sys/perms';
@ -28,18 +28,6 @@ export class BaseCommController extends BaseController {
@Inject()
coolFile: CoolFile;
@Inject()
eps: CoolEps;
/**
*
* @returns
*/
@Get('/eps', { summary: '实体信息与路径' })
public async getEps() {
return this.ok(this.eps.admin);
}
/**
*
*/

View File

@ -37,7 +37,7 @@ export class BaseOpenController extends BaseController {
*/
@Get('/eps', { summary: '实体信息与路径' })
public async getEps() {
return this.ok(this.eps.app);
return this.ok(this.eps.admin);
}
/**