/*
 * @Author: YKH
 * @Date: 2021-12-08 10:26:27
 * @LastEditTime: 2022-04-21 17:16:01
 * @Description: 
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\config.ts
 */
import { Application } from 'egg';
import { ModuleConfig } from 'midwayjs-cool-core';

/**
 * 示例
 */
export default (app: Application) => {
  return {
    // 模块名称
    name: 'shuyou',
    // 模块描述
    description: '数优模块',
    // 可选，模块加载顺序，默认为0，值越大越优先加载
    order: 99,
    // 中间件
    middlewares: ['testMiddleware'],
  } as ModuleConfig;
};
