xiaoyang0346 4 days ago
parent
commit
90047767f6

+ 3 - 1
s_to_proto/shared/mail/PtlMailDelAll.ts

@@ -11,7 +11,9 @@ export interface ReqMailDelAll {
 * 返回信息
 */
 export interface ResMailDelAll {
-
+    [id:string]:{
+        ets: number  //过期时间 小于等于当前时间要隐藏
+    }
 }
 
 export const conf = {

+ 4 - 2
s_to_proto/shared/mail/PtlMailDelOne.ts

@@ -4,14 +4,16 @@
 * 请求接口
 */
 export interface ReqMailDelOne {
-
+    id:string //邮件ID
 }
 
 /**
 * 返回信息
 */
 export interface ResMailDelOne {
-
+    [id:string]:{
+        ets: number  //过期时间 小于等于当前时间要隐藏
+    }
 }
 
 export const conf = {

+ 2 - 2
s_to_proto/shared/mail/PtlMailInfo.ts

@@ -21,8 +21,8 @@ export interface MailInfo {
     items: number[][] //道具列表
     fts: number //发送时间
     rts: number //读取时间
-    ets: number  //过期时间
-    dts: number  //删除时间
+    ets: number  //过期时间 小于等于当前时间要隐藏
+    dts: number  //删除时间  
 }
 
 export const conf = {