chore: src/modules/space/config.ts
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { ModuleConfig } from '@cool-midway/core';
|
||||
|
||||
/**
|
||||
* 模块配置
|
||||
*/
|
||||
export default () => {
|
||||
return {
|
||||
// 模块名称
|
||||
name: '文件空间',
|
||||
// 模块描述
|
||||
description: '上传和管理文件资源',
|
||||
// 中间件,只对本模块有效
|
||||
middlewares: [],
|
||||
// 中间件,全局有效
|
||||
globalMiddlewares: [],
|
||||
// 模块加载顺序,默认为0,值越大越优先加载
|
||||
order: 0,
|
||||
// wps的配置
|
||||
wps: {
|
||||
// 这是个测试的appId,会有水印
|
||||
appId: 'SX20230111NDUAGQ',
|
||||
},
|
||||
} as ModuleConfig;
|
||||
};
|
||||
Reference in New Issue
Block a user