Procházet zdrojové kódy

feat(types): IMessageData字段更换tag数据字段为type

wupeixin před 3 roky
rodič
revize
c56427a1d8
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      types/src/interface/message.ts

+ 2 - 1
types/src/interface/message.ts

@@ -63,6 +63,7 @@ interface IProcess {
   approvalChangePrice: number;
   approvaledPrice: number;
 }
+type TypeMessageData = 'approval' | 'system'
 export interface IMessageData {
   ID: string;
   userID: string;
@@ -70,5 +71,5 @@ export interface IMessageData {
   status: string;
   process:IProcess;
   unRead: boolean;
-  tags: string[];
+  type: TypeMessageData;
 }