mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-09 21:41:12 +00:00
用户管理
This commit is contained in:
parent
4b0e57f0f2
commit
dc3d699ca9
@ -1,5 +1,10 @@
|
||||
import { Provide, Inject, Get, Post, Body, ALL } from '@midwayjs/decorator';
|
||||
import { CoolController, BaseController } from '@cool-midway/core';
|
||||
import {
|
||||
CoolController,
|
||||
BaseController,
|
||||
CoolUrlTag,
|
||||
TagTypes,
|
||||
} from '@cool-midway/core';
|
||||
import { BaseSysUserEntity } from '../../entity/sys/user';
|
||||
import { BaseSysLoginService } from '../../service/sys/login';
|
||||
import { BaseSysPermsService } from '../../service/sys/perms';
|
||||
@ -10,6 +15,10 @@ import { CoolFile } from '@cool-midway/file';
|
||||
/**
|
||||
* Base 通用接口 一般写不需要权限过滤的接口
|
||||
*/
|
||||
@CoolUrlTag({
|
||||
key: TagTypes.IGNORE_TOKEN,
|
||||
value: ['eps'],
|
||||
})
|
||||
@Provide()
|
||||
@CoolController()
|
||||
export class BaseCommController extends BaseController {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user