Browse Source

🐛 修复 notify 在 IDEA 报错的问题

shizhong 1 năm trước cách đây
mục cha
commit
d4ad7e9013

+ 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