Explorar o código

feat(types): message类型修改

lipk %!s(int64=3) %!d(string=hai) anos
pai
achega
57ae5aa768
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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;