瀏覽代碼

🐛 修复 notify 在 IDEA 报错的问题

shizhong 1 年之前
父節點
當前提交
d4ad7e9013
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/api/system/notify/message/index.ts
  2. 1 1
      src/api/system/notify/template/index.ts

+ 1 - 0
src/api/system/notify/message/index.ts

@@ -13,6 +13,7 @@ export interface NotifyMessageVO {
   templateParams: string
   readStatus: boolean
   readTime: Date
+  createTime: Date
 }
 
 export interface NotifyMessagePageReqVO extends PageParam {

+ 1 - 1
src/api/system/notify/template/index.ts

@@ -5,7 +5,7 @@ export interface NotifyTemplateVO {
   name: string
   code: string
   content: string
-  type: number
+  type?: number
   params: string
   status: number
   remark: string