From 5dea97fd4680a392e6825c5331b56032114de726 Mon Sep 17 00:00:00 2001 From: xinnix Date: Mon, 9 Oct 2023 09:30:30 +0800 Subject: [PATCH] make sms optional item in coolconfig make sms optional item in Coolconfig --- core/src/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/interface.ts b/core/src/interface.ts index 211ad16..7ab8c0d 100644 --- a/core/src/interface.ts +++ b/core/src/interface.ts @@ -20,7 +20,7 @@ export interface ModuleConfig { export interface CoolConfig { /** 短信 */ - sms: CoolSmsConfig, + sms?: CoolSmsConfig, /** 是否自动导入数据库 */ initDB?: boolean; /** 是否自动导入模块菜单 */