• This project
    • Loading...
  • Sign in

developOne / harmonyPool

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • harmonyPool
  • ..
  • bean
  • ResponseDTO.ets
  • 人民日报-init: · 68c2de50 ...
    68c2de50 Browse Files
    模块:
    entry:入口模块
    wdKit:工具类模块
    wdConstant:全局常量模块,包括枚举值
    wdComponent:基础组件模块
    wdNetwork:网络模块
    fanmingyou3_wd authored 2024-01-17 20:30:40 +0800
ResponseDTO.ets 305 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/**
 * ResponseDTO
 */
export interface ResponseDTO<T = string> {
  success:boolean;

  // 服务请求响应值/微服务响应状态码”
  code: number;

  // 服务请求响应说明
  message: string;

  // 响应结果
  data?: T;

  // 请求响应时间戳(unix格式)
  timestamp?: number;
}