mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-03-17 03:03:50 +00:00
111
This commit is contained in:
parent
bc5e260516
commit
8ef59d44ca
@ -1,18 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
||||||
<title>COOL-AMIND 通用后台管理系统</title>
|
|
||||||
<meta name="keywords" content="cool-admin,后台管理系统,vue,element-ui,nodejs" />
|
|
||||||
<meta name="description" content="element-ui、egg.js、mysql、redis、node.js、前后端分离、权限管理、快速开发, COOL-AMIND 通用后台管理系统" />
|
|
||||||
<link rel="stylesheet" href="css/welcome.css">
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="reveal">{{text}}</div>
|
|
||||||
<script src="js/welcome.js"></script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
@ -1,5 +1,4 @@
|
|||||||
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
|
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
|
||||||
import * as path from 'path';
|
|
||||||
|
|
||||||
export type DefaultConfig = PowerPartial<EggAppConfig>;
|
export type DefaultConfig = PowerPartial<EggAppConfig>;
|
||||||
|
|
||||||
@ -7,14 +6,10 @@ export default (appInfo: EggAppInfo) => {
|
|||||||
const config = {} as DefaultConfig;
|
const config = {} as DefaultConfig;
|
||||||
|
|
||||||
// use for cookie sign key, should change to your own and keep security
|
// use for cookie sign key, should change to your own and keep security
|
||||||
config.keys = appInfo.name + '_1610416114197_5726';
|
config.keys = appInfo.name + '_1611125891022_7317';
|
||||||
|
|
||||||
// add your config here
|
// add your config here
|
||||||
config.middleware = [];
|
config.middleware = [];
|
||||||
|
|
||||||
config.view = {
|
|
||||||
root: path.join(appInfo.baseDir, 'view'),
|
|
||||||
}
|
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|||||||
7
typings/app/index.d.ts
vendored
7
typings/app/index.d.ts
vendored
@ -1,7 +0,0 @@
|
|||||||
// This file is created by egg-ts-helper@1.25.8
|
|
||||||
// Do not modify this file!!!!!!!!!
|
|
||||||
|
|
||||||
import 'egg';
|
|
||||||
import '@midwayjs/web';
|
|
||||||
export * from 'egg';
|
|
||||||
export as namespace Egg;
|
|
||||||
32
typings/config/index.d.ts
vendored
32
typings/config/index.d.ts
vendored
@ -1,32 +0,0 @@
|
|||||||
// This file is created by egg-ts-helper@1.25.8
|
|
||||||
// Do not modify this file!!!!!!!!!
|
|
||||||
|
|
||||||
import '@midwayjs/web';
|
|
||||||
import 'egg';
|
|
||||||
import 'egg-onerror';
|
|
||||||
import 'egg-session';
|
|
||||||
import 'egg-i18n';
|
|
||||||
import 'egg-multipart';
|
|
||||||
import 'egg-security';
|
|
||||||
import 'egg-schedule';
|
|
||||||
import 'egg-jsonp';
|
|
||||||
import 'egg-view';
|
|
||||||
import 'midway-schedule';
|
|
||||||
import { EggPluginItem } from 'egg';
|
|
||||||
declare module 'egg' {
|
|
||||||
interface EggPlugin {
|
|
||||||
onerror?: EggPluginItem;
|
|
||||||
session?: EggPluginItem;
|
|
||||||
i18n?: EggPluginItem;
|
|
||||||
watcher?: EggPluginItem;
|
|
||||||
multipart?: EggPluginItem;
|
|
||||||
security?: EggPluginItem;
|
|
||||||
development?: EggPluginItem;
|
|
||||||
logrotator?: EggPluginItem;
|
|
||||||
schedule?: EggPluginItem;
|
|
||||||
static?: EggPluginItem;
|
|
||||||
jsonp?: EggPluginItem;
|
|
||||||
view?: EggPluginItem;
|
|
||||||
schedulePlus?: EggPluginItem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
31
typings/config/plugin.d.ts
vendored
31
typings/config/plugin.d.ts
vendored
@ -1,31 +0,0 @@
|
|||||||
// This file is created by egg-ts-helper@1.25.8
|
|
||||||
// Do not modify this file!!!!!!!!!
|
|
||||||
|
|
||||||
import 'egg';
|
|
||||||
import 'egg-onerror';
|
|
||||||
import 'egg-session';
|
|
||||||
import 'egg-i18n';
|
|
||||||
import 'egg-multipart';
|
|
||||||
import 'egg-security';
|
|
||||||
import 'egg-schedule';
|
|
||||||
import 'egg-jsonp';
|
|
||||||
import 'egg-view';
|
|
||||||
import 'midway-schedule';
|
|
||||||
import { EggPluginItem } from 'egg';
|
|
||||||
declare module 'egg' {
|
|
||||||
interface EggPlugin {
|
|
||||||
onerror?: EggPluginItem;
|
|
||||||
session?: EggPluginItem;
|
|
||||||
i18n?: EggPluginItem;
|
|
||||||
watcher?: EggPluginItem;
|
|
||||||
multipart?: EggPluginItem;
|
|
||||||
security?: EggPluginItem;
|
|
||||||
development?: EggPluginItem;
|
|
||||||
logrotator?: EggPluginItem;
|
|
||||||
schedule?: EggPluginItem;
|
|
||||||
static?: EggPluginItem;
|
|
||||||
jsonp?: EggPluginItem;
|
|
||||||
view?: EggPluginItem;
|
|
||||||
schedulePlus?: EggPluginItem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user