소스 검색

🐛 修复 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