PtlMailInfo.ts 449 B

1234567891011121314151617181920212223242526272829
  1. // 定义请求参数
  2. export interface ReqMailInfo {
  3. }
  4. // 定义返回字段
  5. export interface ResMailInfo {
  6. [id:string]:MailInfo
  7. }
  8. export interface MailInfo {
  9. id: string
  10. title: string //标题
  11. content: string //内容
  12. items: number[][] //道具列表
  13. fts: number //发送时间
  14. rts: number //读取时间
  15. ets: number //过期时间
  16. dts: number //删除时间
  17. }
  18. export const conf = {
  19. connet: "ws"
  20. }