Преглед изворни кода

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;