mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
用户模块
This commit is contained in:
parent
dc3d699ca9
commit
f6ac1930af
@ -1,11 +1,21 @@
|
|||||||
import { Provide, Inject, Get, Post } from '@midwayjs/decorator';
|
import { Provide, Inject, Get, Post } from '@midwayjs/decorator';
|
||||||
import { CoolController, BaseController, CoolEps } from '@cool-midway/core';
|
import {
|
||||||
|
CoolController,
|
||||||
|
BaseController,
|
||||||
|
CoolEps,
|
||||||
|
TagTypes,
|
||||||
|
CoolUrlTag,
|
||||||
|
} from '@cool-midway/core';
|
||||||
import { Context } from '@midwayjs/koa';
|
import { Context } from '@midwayjs/koa';
|
||||||
import { CoolFile } from '@cool-midway/file';
|
import { CoolFile } from '@cool-midway/file';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 不需要登录的后台接口
|
* 不需要登录的后台接口
|
||||||
*/
|
*/
|
||||||
|
@CoolUrlTag({
|
||||||
|
key: TagTypes.IGNORE_TOKEN,
|
||||||
|
value: ['eps'],
|
||||||
|
})
|
||||||
@Provide()
|
@Provide()
|
||||||
@CoolController()
|
@CoolController()
|
||||||
export class BaseAppCommController extends BaseController {
|
export class BaseAppCommController extends BaseController {
|
||||||
|
Loading…
Reference in New Issue
Block a user