소스 검색

feat(types): message类型修改

lipk 3 년 전
부모
커밋
57ae5aa768
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      types/src/interface/message.ts

+ 4 - 4
types/src/interface/message.ts

@@ -81,8 +81,8 @@ export interface ISimpleMessageData {
   businessID?: string;
   title: string;
   userID: string;
-  status: string;
-  type: TypeMessageData;
+  status?: string;
+  type?: TypeMessageData;
   content?: IMessageContent;
 }
 
@@ -91,10 +91,10 @@ export interface IMessageData extends ISimpleMessageData {
   // userID: string;
   createTime: number;
   // status: string;
-  read: boolean;
+  read?: boolean;
   // type: TypeMessageData;
   // title: string;
-  isShowProcess: boolean;
+  isShowProcess?: boolean;
   userName: string;
   phone?: string;
   process?: IProcess;