• 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
  • 修改目录 · d7ceb9b6
    d7ceb9b6 Browse Files
    liujian1_wd authored 2023-12-26 11:31:04 +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;
}