17 lines
384 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Application } from 'egg';
import { ModuleConfig } from 'midwayjs-cool-core';
/**
* 模块配置
*/
export default (app: Application) => {
return {
// 模块名称
name: '任务调度',
// 模块描述
description: '任务调度模块支持分布式任务由redis整个集群的任务',
// 中间件
middlewares: [],
} as ModuleConfig;
};